OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:JSON
(Results
1 - 9
of
9
) sorted by null
/external/webkit/LayoutTests/fast/js/resources/
json2-es5-compat.js
2
http://www.
JSON
.org/json2.js
9
See http://www.
JSON
.org/js.html
11
This file creates a global
JSON
object containing two methods: stringify
14
JSON
.stringify(value, replacer, space)
28
This method produces a
JSON
text from a JavaScript value.
65
Values that do not have
JSON
representations, such as undefined or
68
a replacer function to replace those with
JSON
values.
69
JSON
.stringify(undefined) returns undefined.
81
text =
JSON
.stringify(['e', {pluribus: 'unum'}]);
85
text =
JSON
.stringify(['e', {pluribus: 'unum'}], null, '\t')
[
all
...]
/external/webkit/SunSpider/hosted/
json2.js
2
http://www.
JSON
.org/json2.js
9
See http://www.
JSON
.org/js.html
19
This file creates a global
JSON
object containing two methods: stringify
22
JSON
.stringify(value, replacer, space)
36
This method produces a
JSON
text from a JavaScript value.
73
Values that do not have
JSON
representations, such as undefined or
76
a replacer function to replace those with
JSON
values.
77
JSON
.stringify(undefined) returns undefined.
89
text =
JSON
.stringify(['e', {pluribus: 'unum'}]);
93
text =
JSON
.stringify(['e', {pluribus: 'unum'}], null, '\t')
[
all
...]
/dalvik/libcore/json/src/main/java/org/json/
JSON.java
17
package org.
json
;
19
class
JSON
{
21
* Returns the input if it is a
JSON
-permissable value; throws otherwise.
JSONArray.java
17
package org.
json
;
23
// Note: this class was written without inspecting the non-free org.
json
sourcecode.
91
throw
JSON
.typeMismatch(object, "JSONArray");
96
* Creates a new {@code JSONArray} with values from the
JSON
string.
98
* @param
json
a
JSON
-encoded string containing an array.
102
public JSONArray(String
json
) throws JSONException {
103
this(new JSONTokener(
json
));
131
values.add(
JSON
.checkDouble(value));
230
JSON
.checkDouble(((Number) value).doubleValue())
[
all
...]
JSONObject.java
17
package org.
json
;
24
// Note: this class was written without inspecting the non-free org.
json
sourcecode.
90
* <li>are included in the encoded
JSON
string.
158
throw
JSON
.typeMismatch(object, "JSONObject");
163
* Creates a new {@code JSONObject} with name/value mappings from the
JSON
166
* @param
json
a
JSON
-encoded string containing an object.
170
public JSONObject(String
json
) throws JSONException {
171
this(new JSONTokener(
json
));
216
nameValuePairs.put(checkName(name),
JSON
.checkDouble(value))
[
all
...]
/external/v8/src/
json.js
28
var $
JSON
= global.
JSON
;
262
InstallFunctions($
JSON
, DONT_ENUM, $Array(
scanner.h
256
enum ParserLanguage { JAVASCRIPT,
JSON
};
425
// Scan a single
JSON
token. The
JSON
lexical grammar is specified in the
433
// A
JSON
number (production JSONNumber) is a subset of the valid JavaScript
440
// A
JSON
string (production JSONString) is subset of valid JavaScript string
446
// are the only valid
JSON
identifiers (productions JSONBooleanLiteral,
d8.js
98
JSON
: 2 };
118
// Process a debugger
JSON
message into a display text and a running status.
122
// Convert the
JSON
string to an object.
255
// Converts a text command to a
JSON
request.
262
// If the very first character is a { assume that a
JSON
request have been
263
// entered as a command. Converting that to a
JSON
request is trivial.
353
// Return undefined to indicate command handled internally (no
JSON
).
361
// Return undefined to indicate command handled internally (no
JSON
).
386
var
json
= '{';
387
json
+= '"seq":' + this.seq
[
all
...]
debug-debugger.js
67
JSON
: 2 };
883
return
JSON
.stringify(ObjectToProtocolObject_(o));
1131
var
json
= {};
1132
json
.seq= this.seq;
1134
json
.request_seq = this.request_seq;
1136
json
.type = this.type;
1138
json
.event = this.event;
1141
json
.command = this.command;
1144
json
.success = this.success;
1146
json
.success = false
[
all
...]
Completed in 103 milliseconds