HomeSort by relevance Sort by last modified time
    Searched refs:JSON (Results 51 - 75 of 273) sorted by null

1 23 4 5 6 7 8 91011

  /prebuilts/gdb/linux-x86/lib/python2.7/json/
__init__.py 1 r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of
5 :mod:`json` exposes an API familiar to users of the standard library
7 version of the :mod:`json` library contained in Python 2.6, but maintains
14 >>> import json
15 >>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
17 >>> print json.dumps("\"foo\bar")
19 >>> print json.dumps(u'\u1234')
21 >>> print json.dumps('\\')
23 >>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/
__init__.py 1 r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of
5 :mod:`json` exposes an API familiar to users of the standard library
7 version of the :mod:`json` library contained in Python 2.6, but maintains
14 >>> import json
15 >>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
17 >>> print json.dumps("\"foo\bar")
19 >>> print json.dumps(u'\u1234')
21 >>> print json.dumps('\\')
23 >>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/
__init__.py 1 r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of
5 :mod:`json` exposes an API familiar to users of the standard library
7 version of the :mod:`json` library contained in Python 2.6, but maintains
14 >>> import json
15 >>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
17 >>> print json.dumps("\"foo\bar")
19 >>> print json.dumps(u'\u1234')
21 >>> print json.dumps('\\')
23 >>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True
    [all...]
  /external/v8/test/mjsunit/regress/
regress-1015.js 45 var ja = JSON.parse('[1,2,3,4]');
46 var jo = JSON.parse('{"bar": 10, "foo": 20}')
47 var jop = JSON.parse('{"bar": 10, "__proto__": { }, "foo": 20}')
57 var ja = JSON.parse('[1,2,3,4]');
58 var jo = JSON.parse('{"bar": 10, "foo": 20}')
59 var jop = JSON.parse('{"bar": 10, "__proto__": { }, "foo": 20}')
regress-2570.js 28 var o = ["\u56e7", // Switch JSON stringifier to two-byte mode.
31 assertEquals('["\u56e7","\u00e6"]', JSON.stringify(o));
32 assertEquals('["\u56e7","\u00e6"]', JSON.stringify(o, null, 0));
regress-cnlt-elements.js 30 var a = JSON.parse('{"b":1,"c":2,"d":3,"e":4}');
31 var b = JSON.parse('{"12040200":1, "a":2, "b":2}');
32 var c = JSON.parse('{"24050300":1}');
  /external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
test_trace.py 25 @SkipForS3('--trace-token is supported only on GCS JSON API.')
35 if self.test_api == ApiSelector.JSON:
  /external/chromium-trace/catapult/third_party/vinn/third_party/parse5/tools/
named_entity_trie_generator.js 4 var fileData = fs.readFileSync(path.join(__dirname, 'entities.json')).toString(),
5 entitiesData = JSON.parse(fileData);
44 'module.exports = ' + JSON.stringify(trie).replace(/"/g, '') + ';\n';
  /external/libbrillo/brillo/
value_conversion_unittest.cc 22 #include <base/json/json_reader.h>
23 #include <base/json/json_writer.h>
30 std::unique_ptr<base::Value> ParseValue(std::string json) {
31 std::replace(json.begin(), json.end(), '\'', '"');
34 base::JSONReader::ReadAndReturnError(json, base::JSON_PARSE_RFC,nullptr,
37 CHECK(value) << "Failed to load JSON: " << message << ", " << json; local
  /external/v8/test/fuzzer/
json.cc 29 v8::JSON::Parse(support->GetContext(), source).IsEmpty();
  /external/v8/test/js-perf-test/Object/
entries.js 70 if (JSON.stringify(expected) !== JSON.stringify(result)) {
values.js 70 if (JSON.stringify(expected) !== JSON.stringify(result)) {
  /external/v8/test/mjsunit/harmony/
async-arrow-lexical-arguments.js 35 return (async () => JSON.stringify([...arguments]))();
41 return JSON.stringify([...await arguments]) })();
mirror-async-function.js 23 // Create mirror and JSON representation.
26 var json = JSON.stringify(serializer.serializeValue(mirror));
28 JSON.stringify(serializer.serializeReferencedObjects()));
51 // Parse JSON representation and check.
52 var fromJSON = eval('(' + json + ')');
  /external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
cat.py 98 gs_api_support=[ApiSelector.XML, ApiSelector.JSON],
99 gs_default_api=ApiSelector.JSON,
  /external/jetty/src/java/org/eclipse/jetty/util/ajax/
JSONDateConvertor.java 29 import org.eclipse.jetty.util.ajax.JSON.Output;
35 * Convert a {@link Date} to JSON.
36 * If fromJSON is true in the constructor, the JSON generated will
40 public class JSONDateConvertor implements JSON.Convertor
JSONObjectConvertor.java 29 import org.eclipse.jetty.util.ajax.JSON.Output;
33 * Convert an Object to JSON using reflection on getters methods.
38 public class JSONObjectConvertor implements JSON.Convertor
  /external/v8/test/mjsunit/
json-replacer-order.js 5 // http://ecma-international.org/ecma-262/6.0/#sec-json.stringify
22 JSON.stringify('', replacer, space);
mirror-array.js 44 // Create mirror and JSON representation.
47 var json = JSON.stringify(serializer.serializeValue(mirror));
49 JSON.stringify(serializer.serializeReferencedObjects()));
75 // Parse JSON representation and check.
76 var fromJSON = eval('(' + json + ')');
77 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON');
78 assertEquals('Array', fromJSON.className, 'Unexpected mirror class name in JSON');
79 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON');
80 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON');
    [all...]
mirror-object.js 44 // Create mirror and JSON representation.
47 var json = JSON.stringify(serializer.serializeValue(mirror));
49 JSON.stringify(serializer.serializeReferencedObjects()));
98 // Parse JSON representation and check.
99 var fromJSON = eval('(' + json + ')');
100 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON');
101 assertEquals(cls_name, fromJSON.className, 'Unexpected mirror class name in JSON');
102 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON');
103 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON');
    [all...]
json-stringify-recursive.js 38 JSON.stringify(a);
49 assertThrows(function() { JSON.stringify(deepArray); }, RangeError);
54 assertThrows(function() { JSON.stringify(deepObject); }, RangeError);
mirror-boolean.js 32 // Create mirror and JSON representation.
35 var json = JSON.stringify(serializer.serializeValue(mirror));
50 // Parse JSON representation and check.
51 var fromJSON = eval('(' + json + ')');
52 assertEquals('boolean', fromJSON.type, json);
53 assertEquals(b, fromJSON.value, json);
  /external/webrtc/webrtc/examples/objc/AppRTCDemo/
RTCICECandidate+JSON.m 11 #import "RTCICECandidate+JSON.h"
21 @implementation RTCICECandidate (JSON)
32 NSDictionary *json = @{
40 [NSJSONSerialization dataWithJSONObject:json
44 RTCLogError(@"Error serializing JSON: %@", error);
  /external/v8/test/mjsunit/es6/
mirror-collections.js 8 // Create JSON representation.
10 var json = JSON.stringify(serializer.serializeValue(mirror));
20 // Parse JSON representation and check.
21 var fromJSON = eval('(' + json + ')');
26 // Create JSON representation.
28 var json = JSON.stringify(serializer.serializeValue(mirror));
38 // Parse JSON representation and check.
39 var fromJSON = eval('(' + json + ')')
    [all...]
generators-mirror.js 28 // Create mirror and JSON representation.
31 var json = JSON.stringify(serializer.serializeValue(mirror));
33 JSON.stringify(serializer.serializeReferencedObjects()));

Completed in 448 milliseconds

1 23 4 5 6 7 8 91011