/third_party/jerryscript/tests/jerry/ |
D | regexp-backtrack.js | 15 assert (JSON.stringify (/(?:(a)*){3,}/.exec("aaaab")) === '["aaaa",null]'); 16 assert (JSON.stringify (/((a)*){3,}/.exec("aaaab")) === '["aaaa","",null]'); 17 assert (JSON.stringify (/((a)+){3,}/.exec("aaaab")) === '["aaaa","a","a"]'); 18 assert (JSON.stringify (/((.)*){3,}/.exec("abcd")) === '["abcd","",null]'); 19 assert (JSON.stringify (/((.)+){3,}/.exec("abcd")) === '["abcd","d","d"]'); 21 assert (JSON.stringify (/((.){1,2}){1,2}/.exec("abc")) === '["abc","c","c"]'); 22 assert (JSON.stringify (/(?:(a)*?)asd/.exec("aaasd")) === '["aaasd","a"]'); 23 assert (JSON.stringify (/(?:(a)*)asd/.exec("aaasd")) === '["aaasd","a"]'); 25 assert (JSON.stringify (/(.)*((a)*|(b)*)/.exec("ab")) === '["ab","b","",null,null]'); 26 assert (JSON.stringify (/(.)*((x)|(y))+/.exec("xy")) === '["xy","x","y",null,"y"]'); [all …]
|
D | json-stringify.js | 16 assert (JSON.stringify ("") === '""'); 19 assert (JSON.stringify (normal_string) == '"asdasd"'); 22 assert (JSON.stringify (format_characters) == '"\\ba\\fs\\nd\\ra\\tsd"'); 25 assert (JSON.stringify (ctl_string) == '"asd\\u001fasd"'); 28 assert (JSON.stringify (escpad_string) == '"\\"asdasd"'); 30 assert (JSON.stringify('\u2040') == '"⁀"'); 31 assert (JSON.stringify('abc\u2040\u2030cba') == '"abc⁀‰cba"'); 34 assert (JSON.stringify (1) === '1'); 35 assert (JSON.stringify (true) === 'true'); 36 assert (JSON.stringify ("foo") === '"foo"'); [all …]
|
D | json-parse.js | 25 JSON.parse (str); 33 assert (JSON.parse (str) === null); 35 assert (JSON.parse (str) === true); 37 assert (JSON.parse (str) === false); 39 assert (JSON.parse (str) == -3250); 41 assert (JSON.parse (str) == "str"); 43 assert (JSON.parse (str) === "\b\f\n\t\r"); 46 assert (JSON.parse (str) === "\x00\x1f"); 48 assert (JSON.parse (str) === "\ud801\udc00\ud801\udc00\ud801\udc00\ud801\udc00"); 51 assert (JSON.parse (str) === "\ud801,\udc00,\ud801,\udc00,\ud801,\udc00,\ud801,\udc00"); [all …]
|
/third_party/jerryscript/tests/jerry/fail/ |
D | regression-test-issue-2775.js | 18 print ( JSON . stringify ( "" ) === '""' ) 20 print ( JSON . stringify ( normal_string ) == '"asdasd"' ) 22 print ( JSON . stringify ( format_characters ) == '"\\ba\\fs\\nd\\ra\\tsd"' ) 24 print ( JSON . stringify ( ctl_string ) == '"asd\\u001fasd"' ) 26 print ( JSON . stringify ( escpad_string ) == '"\\"asdasd"' ) 27 print ( JSON . stringify ( true ) === 'true' ) 28 print ( JSON . stringify ( "foo" ) === '"foo"' ) 29 print ( JSON . stringify ( null ) === 'null' ) 30 print ( JSON . stringify ( RegExp ) === undefined ) 31 print ( JSON . stringify ( new Number ( 1 ) ) === '1' ) [all …]
|
D | regression-test-issue-2774.js | 18 print ( JSON . stringify ( "" ) === '""' ) 20 print ( JSON . stringify ( normal_string ) == '"asdasd"' ) 22 print ( JSON . stringify ( format_characters ) == '"\\ba\\fs\\nd\\ra\\tsd"' ) 24 print ( JSON . stringify ( ctl_string ) == "h" ) 26 print ( JSON . stringify ( escpad_string ) == '"\\"asdasd"' ) 27 print ( JSON . stringify ( '\u2040' ) == '"⁀"' ) 28 print ( JSON . stringify ( 'abc\u2040\u2030cba' ) == '"abc⁀‰cba"' ) 29 print ( JSON . stringify ( 1 ) === '1' ) 30 print ( JSON . stringify ( 0 ) === 'true' ) 31 print ( JSON . stringify ( "" ) === '"foo"' ) [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | json.stringify.symbols | 5 JSON.stringify(value, undefined, 2); 6 >JSON.stringify : Symbol(JSON.stringify, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 7 >JSON : Symbol(JSON, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 8 >stringify : Symbol(JSON.stringify, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 12 JSON.stringify(value, null, 2); 13 >JSON.stringify : Symbol(JSON.stringify, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 14 >JSON : Symbol(JSON, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 15 >stringify : Symbol(JSON.stringify, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 18 JSON.stringify(value, ["a", 1], 2); 19 >JSON.stringify : Symbol(JSON.stringify, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) [all …]
|
D | json.stringify.types | 6 JSON.stringify(value, undefined, 2); 7 >JSON.stringify(value, undefined, 2) : string 8 >JSON.stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefin… 9 >JSON : JSON 15 JSON.stringify(value, null, 2); 16 >JSON.stringify(value, null, 2) : string 17 >JSON.stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefin… 18 >JSON : JSON 24 JSON.stringify(value, ["a", 1], 2); 25 >JSON.stringify(value, ["a", 1], 2) : string [all …]
|
D | json.stringify.js | 3 JSON.stringify(value, undefined, 2); 4 JSON.stringify(value, null, 2); 5 JSON.stringify(value, ["a", 1], 2); 6 JSON.stringify(value, (k) => undefined, 2); 7 JSON.stringify(value, undefined, 2); 11 JSON.stringify(value, undefined, 2); 12 JSON.stringify(value, null, 2); 13 JSON.stringify(value, ["a", 1], 2); 14 JSON.stringify(value, function (k) { return undefined; }, 2); 15 JSON.stringify(value, undefined, 2);
|
/third_party/node/deps/npm/test/lib/commands/ |
D | repo.js | 6 'package.json': JSON.stringify({ 12 'package.json': JSON.stringify({ 18 'package.json': JSON.stringify({ 24 'package.json': JSON.stringify({ 29 'package.json': JSON.stringify({ 34 'package.json': JSON.stringify({ 39 'package.json': JSON.stringify({ 44 'package.json': JSON.stringify({ 49 'package.json': JSON.stringify({ 54 'package.json': JSON.stringify({ [all …]
|
D | ls.js | 21 'package.json': JSON.stringify({ 30 'package.json': JSON.stringify({ 36 'package.json': JSON.stringify({ 47 'package.json': JSON.stringify({ 57 'package.json': JSON.stringify({ 67 'package.json': JSON.stringify({ 76 'package.json': JSON.stringify({ 83 'package.json': JSON.stringify({ 129 const jsonParse = res => redactCwdObj(JSON.parse(res)) 136 'package.json': JSON.stringify({ [all …]
|
D | link.js | 49 'package.json': JSON.stringify({ 57 'package.json': JSON.stringify({ 73 'package.json': JSON.stringify({ 81 'package.json': JSON.stringify({ 88 'package.json': JSON.stringify({ 108 'package.json': JSON.stringify({ 114 'package.json': JSON.stringify({ 122 'package.json': JSON.stringify({ 128 'package.json': JSON.stringify({ 138 'package.json': JSON.stringify({ [all …]
|
D | pkg.js | 13 JSON.parse(readFileSync(resolve(res.prefix, dir, 'package.json'), 'utf8')) 48 'package.json': JSON.stringify({ 58 JSON.parse(OUTPUT()), 70 'package.json': JSON.stringify({ 80 JSON.parse(OUTPUT()), 89 'package.json': JSON.stringify({ 99 JSON.parse(OUTPUT()), 111 'package.json': JSON.stringify({ 121 JSON.parse(OUTPUT()), 133 'package.json': JSON.stringify({ [all …]
|
D | fund.js | 12 'package.json': JSON.stringify({ 23 'package.json': JSON.stringify({ 33 'package.json': JSON.stringify({ 42 'package.json': JSON.stringify({ 52 'package.json': JSON.stringify({ 64 'package.json': JSON.stringify({ 73 'package.json': JSON.stringify({ 80 'package.json': JSON.stringify({ 91 'package.json': JSON.stringify({ 103 'package.json': JSON.stringify({ [all …]
|
D | sbom.js | 11 sbom = JSON.parse(s) 34 return JSON.stringify(sbom, null, 2) 40 'package.json': JSON.stringify({ 49 'package.json': JSON.stringify({ 57 'package.json': JSON.stringify({ 95 'package.json': JSON.stringify({ 118 'package.json': JSON.stringify({ 141 'package.json': JSON.stringify({ 166 'package.json': JSON.stringify({ 191 'package.json': JSON.stringify({ [all …]
|
D | version.js | 28 'package.json': JSON.stringify({ 114 'package.json': JSON.stringify( 124 'package.json': JSON.stringify({ 130 'package.json': JSON.stringify({ 157 'package.json': JSON.stringify( 167 'package.json': JSON.stringify({ 173 'package.json': JSON.stringify({ 201 'package.json': JSON.stringify( 211 'package.json': JSON.stringify({ 217 'package.json': JSON.stringify({ [all …]
|
D | outdated.js | 79 'package.json': JSON.stringify({ 87 'package.json': JSON.stringify({ 107 'package.json': JSON.stringify({ 116 'package.json': JSON.stringify({ 124 'package.json': JSON.stringify({ 130 'package.json': JSON.stringify({ 136 'package.json': JSON.stringify({ 144 'package.json': JSON.stringify({ 157 'package.json': JSON.stringify({ 166 'package.json': JSON.stringify({ [all …]
|
/third_party/typescript/src/testRunner/unittests/config/ |
D | configurationExtension.ts | 7 "dev/node_modules/config-box/package.json": JSON.stringify({ 12 "dev/node_modules/config-box/strict.json": JSON.stringify({ 17 "dev/node_modules/config-box/unstrict.json": JSON.stringify({ 22 "dev/tsconfig.extendsBox.json": JSON.stringify({ 28 "dev/tsconfig.extendsStrict.json": JSON.stringify({ 34 "dev/tsconfig.extendsUnStrict.json": JSON.stringify({ 40 "dev/tsconfig.extendsStrictExtension.json": JSON.stringify({ 46 "dev/node_modules/config-box-implied/package.json": JSON.stringify({ 50 "dev/node_modules/config-box-implied/tsconfig.json": JSON.stringify({ 55 "dev/node_modules/config-box-implied/unstrict/tsconfig.json": JSON.stringify({ [all …]
|
/third_party/jsframework/runtime/main/manage/event/ |
D | TaskCenter.ts | 133 return JSON.stringify(v); 242 ace.onFetchRequest(args[1], JSON.stringify(args)); 251 return ace.callNative(JSON.stringify(options), args[args.length - 1]); 253 return ace.callNative(JSON.stringify(options), JSON.stringify(args[0])); 255 return ace.callNative(JSON.stringify(options), JSON.stringify(args[0])); 257 return ace.callNative(JSON.stringify(options), args); 259 return ace.callNative(JSON.stringify(options), JSON.stringify(args[0])); 261 return ace.callNative(JSON.stringify(options), args); 263 return ace.callNative(JSON.stringify(options), args); 265 return ace.callNative(JSON.stringify(options), args); [all …]
|
/third_party/json/docs/mkdocs/docs/api/basic_json/ |
D | patch_inplace.md | 7 [JSON Patch](http://jsonpatch.com) defines a JSON document structure for expressing a sequence of o… 8 a JSON document. With this function, a JSON Patch is applied to the current JSON value by executing… 9 the patch. This function applies a JSON patch in place and returns void. 14 : JSON patch document 22 - Throws [`parse_error.104`](../../home/exceptions.md#jsonexceptionparse_error104) if the JSON patc… 24 - Throws [`parse_error.105`](../../home/exceptions.md#jsonexceptionparse_error105) if the JSON patc… 27 - Throws [`out_of_range.403`](../../home/exceptions.md#jsonexceptionout_of_range403) if a JSON poin… 28 could not be resolved successfully in the current JSON value; example: `"key baz not found"`. 29 - Throws [`out_of_range.405`](../../home/exceptions.md#jsonexceptionout_of_range405) if JSON pointe… 36 Linear in the size of the JSON value and the length of the JSON patch. As usually only a fraction o… [all …]
|
D | patch.md | 7 [JSON Patch](http://jsonpatch.com) defines a JSON document structure for expressing a sequence of o… 8 a JSON document. With this function, a JSON Patch is applied to the current JSON value by executing… 14 : JSON patch document 22 Strong guarantee: if an exception is thrown, there are no changes in the JSON value. 26 - Throws [`parse_error.104`](../../home/exceptions.md#jsonexceptionparse_error104) if the JSON patc… 28 - Throws [`parse_error.105`](../../home/exceptions.md#jsonexceptionparse_error105) if the JSON patc… 31 - Throws [`out_of_range.403`](../../home/exceptions.md#jsonexceptionout_of_range403) if a JSON poin… 32 could not be resolved successfully in the current JSON value; example: `"key baz not found"`. 33 - Throws [`out_of_range.405`](../../home/exceptions.md#jsonexceptionout_of_range405) if JSON pointe… 40 Linear in the size of the JSON value and the length of the JSON patch. As usually only a fraction o… [all …]
|
D | index.md | 25 | `ObjectType` | type for JSON objects … 26 | `ArrayType` | type for JSON arrays … 27 | `StringType` | type for JSON strings and object keys … 28 | `BooleanType` | type for JSON booleans … 29 | `NumberIntegerType` | type for JSON integer numbers … 30 | `NumberUnsignedType` | type for JSON unsigned integer numbers … 31 | `NumberFloatType` | type for JSON floating-point numbers … 51 - [DefaultConstructible](https://en.cppreference.com/w/cpp/named_req/DefaultConstructible): JSON va… 52 constructed. The result will be a JSON null value. 53 - [MoveConstructible](https://en.cppreference.com/w/cpp/named_req/MoveConstructible): A JSON value … [all …]
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | object-assign.js | 23 assert (JSON.stringify (object2) === '{"c":3,"d":5,"a":1,"b":2}'); 30 assert (JSON.stringify (copy) === '{"a":1}'); // { a: 1 } 38 assert (JSON.stringify (obj2) === '{"a":0,"b":{"c":0}}'); 41 assert (JSON.stringify (obj1) === '{"a":1,"b":{"c":0}}'); 42 assert (JSON.stringify (obj2) === '{"a":0,"b":{"c":0}}'); 45 assert (JSON.stringify (obj1) === '{"a":1,"b":{"c":0}}'); 46 assert (JSON.stringify (obj2) === '{"a":2,"b":{"c":0}}'); 49 assert (JSON.stringify (obj1) === '{"a":1,"b":{"c":3}}'); 50 assert (JSON.stringify (obj2) === '{"a":2,"b":{"c":3}}'); 54 var obj3 = JSON.parse (JSON.stringify (obj1)); [all …]
|
/third_party/node/deps/npm/test/lib/utils/completion/ |
D | installed-deep.js | 6 'package.json': JSON.stringify({ 23 'package.json': JSON.stringify({ 32 'package.json': JSON.stringify({ 38 'package.json': JSON.stringify({ 47 'package.json': JSON.stringify({ 53 'package.json': JSON.stringify({ 59 'package.json': JSON.stringify({ 65 'package.json': JSON.stringify({ 75 'package.json': JSON.stringify({ 84 'package.json': JSON.stringify({ [all …]
|
/third_party/node/deps/npm/test/lib/utils/ |
D | sbom-cyclonedx.js | 12 sbom = JSON.parse(s) 22 return JSON.stringify(sbom, null, 2) 76 t.matchSnapshot(JSON.stringify(res)) 82 t.matchSnapshot(JSON.stringify(res)) 89 t.matchSnapshot(JSON.stringify(res)) 97 t.matchSnapshot(JSON.stringify(res)) 105 t.matchSnapshot(JSON.stringify(res)) 113 t.matchSnapshot(JSON.stringify(res)) 120 t.matchSnapshot(JSON.stringify(res)) 127 t.matchSnapshot(JSON.stringify(res)) [all …]
|
/third_party/json/docs/mkdocs/docs/features/ |
D | json_patch.md | 1 # JSON Patch and Diff 5 JSON Patch ([RFC 6902](https://tools.ietf.org/html/rfc6902)) defines a JSON document structure for … 6 of operations to apply to a JSON document. With the `patch` function, a JSON Patch is applied to th… 11 The following code shows how a JSON patch is applied to a value. 25 The library can also calculate a JSON patch (i.e., a **diff**) given two JSON values. 29 For two JSON values *source* and *target*, the following code yields always true: 37 The following code shows how a JSON patch is created as a diff for two JSON values.
|