Home
last modified time | relevance | path

Searched full:json (Results 226 - 250 of 24404) sorted by relevance

12345678910>>...977

/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/test/
H A DtextProps.test.js65 console.info("push textProps page success " + JSON.stringify(result));
67 console.error("push textProps page error " + JSON.stringify(result));
89 console.info("[textProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
91 let obj = JSON.parse(globalThis.value.idProp);
92 console.info("[textProps] get inspector value is: " + JSON.stringify(obj));
93 console.info("[textProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
107 console.info("[textProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
109 let obj = JSON.parse(globalThis.value.classProp);
110 console.info("[textProps] get inspector value is: " + JSON.stringify(obj));
111 console.info("[textProps] get inspector attrs value is: " + JSON
[all...]
H A DgridRowProps.test.js64 console.info("push gridRowProps page success " + JSON.stringify(result));
66 console.error("push gridRowProps page error " + JSON.stringify(result));
88 console.info("[gridRowProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
90 let obj = JSON.parse(globalThis.value.idProp);
91 console.info("[gridRowProps] get inspector value is: " + JSON.stringify(obj));
92 console.info("[gridRowProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
106 console.info("[gridRowProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
108 let obj = JSON.parse(globalThis.value.classProp);
109 console.info("[gridRowProps] get inspector value is: " + JSON.stringify(obj));
110 console.info("[gridRowProps] get inspector attrs value is: " + JSON
[all...]
H A DprogressProps.test.js64 console.info("push progressProps page success " + JSON.stringify(result));
66 console.error("push progressProps page error " + JSON.stringify(result));
88 console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
90 let obj = JSON.parse(globalThis.value.idProp);
91 console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
92 console.info("[progressProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
106 console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
108 let obj = JSON.parse(globalThis.value.classProp);
109 console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
110 console.info("[progressProps] get inspector attrs value is: " + JSON
[all...]
H A DratingProps.test.js63 console.info("push ratingProps page success " + JSON.stringify(result));
65 console.error("push ratingProps page error " + JSON.stringify(result));
87 console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
89 let obj = JSON.parse(globalThis.value.idProp);
90 console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
91 console.info("[ratingProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
105 console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
107 let obj = JSON.parse(globalThis.value.classProp);
108 console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
109 console.info("[ratingProps] get inspector attrs value is: " + JSON
[all...]
H A DcanvasProps.test.js64 console.info("push canvasProps page success " + JSON.stringify(result))
66 console.error("push canvasProps page error " + JSON.stringify(result))
88 console.info("[canvasProps] get globalThis.value is: " + JSON.stringify(globalThis.value))
90 let obj = JSON.parse(globalThis.value.idProp)
91 console.info("[canvasProps] get inspector value is: " + JSON.stringify(obj))
92 console.info("[canvasProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs))
106 console.info("[canvasProps] get globalThis.value is: " + JSON.stringify(globalThis.value))
108 let obj = JSON.parse(globalThis.value.classProp)
109 console.info("[canvasProps] get inspector value is: " + JSON.stringify(obj))
110 console.info("[canvasProps] get inspector attrs value is: " + JSON
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/test/
H A DstackProps.test.js63 console.info("push stackProps page success " + JSON.stringify(result));
65 console.error("push stackProps page error " + JSON.stringify(result));
87 console.info("[stackProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
89 let obj = JSON.parse(globalThis.value.idProp);
90 console.info("[stackProps] get inspector value is: " + JSON.stringify(obj));
91 console.info("[stackProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
105 console.info("[stackProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
107 let obj = JSON.parse(globalThis.value.classProp);
108 console.info("[stackProps] get inspector value is: " + JSON.stringify(obj));
109 console.info("[stackProps] get inspector attrs value is: " + JSON
[all...]
H A DratingProps.test.js63 console.info("push ratingProps page success " + JSON.stringify(result));
65 console.error("push ratingProps page error " + JSON.stringify(result));
87 console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
89 let obj = JSON.parse(globalThis.value.idProp);
90 console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
91 console.info("[ratingProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
105 console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
107 let obj = JSON.parse(globalThis.value.classProp);
108 console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
109 console.info("[ratingProps] get inspector attrs value is: " + JSON
[all...]
H A DprogressProps.test.js64 console.info("push progressProps page success " + JSON.stringify(result));
66 console.error("push progressProps page error " + JSON.stringify(result));
88 console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
90 let obj = JSON.parse(globalThis.value.idProp);
91 console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
92 console.info("[progressProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
106 console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
108 let obj = JSON.parse(globalThis.value.classProp);
109 console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
110 console.info("[progressProps] get inspector attrs value is: " + JSON
[all...]
H A DcanvasProps.test.js64 console.info("push canvasProps page success " + JSON.stringify(result))
66 console.error("push canvasProps page error " + JSON.stringify(result))
88 console.info("[canvasProps] get globalThis.value is: " + JSON.stringify(globalThis.value))
90 let obj = JSON.parse(globalThis.value.idProp)
91 console.info("[canvasProps] get inspector value is: " + JSON.stringify(obj))
92 console.info("[canvasProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs))
106 console.info("[canvasProps] get globalThis.value is: " + JSON.stringify(globalThis.value))
108 let obj = JSON.parse(globalThis.value.classProp)
109 console.info("[canvasProps] get inspector value is: " + JSON.stringify(obj))
110 console.info("[canvasProps] get inspector attrs value is: " + JSON
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projects/
H A Dreferences-on-file-opened-is-in-configured-project-that-will-be-removed.js1 Info 0 [00:00:35.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
12 //// [/user/username/projects/myproject/playground/tsconfig.json]
18 //// [/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts]
21 //// [/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json]
24 //// [/user/username/projects/myproject/playground/tsconfig-json/src/src.ts]
48 Info 3 [00:00:38.000] For info: /user/username/projects/myproject/playground/tests.ts :: Config file name: /user/username/projects/myproject/playground/tsconfig.json
49 Info 4 [00:00:39.000] Creating configuration project /user/username/projects/myproject/playground/tsconfig.json
50 Info 5 [00:00:40.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchTyp
[all...]
/base/startup/appspawn/service/hnp/base/
H A Dhnp_json.c73 static int ParseJsonStreamToHnpCfgInfo(cJSON *json, HnpCfgInfo *hnpCfg) in ParseJsonStreamToHnpCfgInfo() argument
77 cJSON *typeItem = cJSON_GetObjectItem(json, "type"); in ParseJsonStreamToHnpCfgInfo()
86 cJSON *nameItem = cJSON_GetObjectItem(json, "name"); in ParseJsonStreamToHnpCfgInfo()
96 cJSON *versionItem = cJSON_GetObjectItem(json, "version"); in ParseJsonStreamToHnpCfgInfo()
106 cJSON *installItem = cJSON_GetObjectItem(json, "install"); in ParseJsonStreamToHnpCfgInfo()
127 cJSON *json; in ParseHnpCfgFile() local
135 json = cJSON_Parse(cfgStream); in ParseHnpCfgFile()
137 if (json == NULL) { in ParseHnpCfgFile()
138 HNP_LOGE("parse json file[%{public}s] unsuccess.", hnpCfgPath); in ParseHnpCfgFile()
141 ret = ParseJsonStreamToHnpCfgInfo(json, hnpCf in ParseHnpCfgFile()
149 cJSON *json; HnpCfgGetFromSteam() local
182 HnpInstallHapExistCheck(const char *hnpPackageName, cJSON *json, cJSON **hapItemOut, int *hapIndex) HnpInstallHapExistCheck() argument
228 HnpPackageVersionUpdateAll(cJSON *json, const HnpCfgInfo *hnpCfg) HnpPackageVersionUpdateAll() argument
252 HnpHapJsonWrite(cJSON *json) HnpHapJsonWrite() argument
272 HnpHapJsonHnpAdd(bool hapExist, cJSON *json, cJSON *hapItem, const char *hnpPackageName, const HnpCfgInfo *hnpCfg) HnpHapJsonHnpAdd() argument
330 cJSON *json = NULL; HnpInstallInfoJsonWrite() local
377 HnpOtherPackageInstallCheck(const char *name, const char *version, int packageIndex, cJSON *json) HnpOtherPackageInstallCheck() argument
437 cJSON *json = cJSON_Parse(infoStream); HnpPackageJsonGet() local
455 cJSON *json = NULL; HnpPackageInfoGet() local
519 cJSON *json = cJSON_Parse(infoStream); HnpPackageInfoHnpDelete() local
560 cJSON *json = cJSON_Parse(infoStream); HnpPackageInfoDelete() local
613 cJSON *json = cJSON_Parse(infoStream); HnpCurrentVersionGet() local
657 cJSON *json = cJSON_Parse(infoStream); HnpCurrentVersionUninstallCheck() local
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_navigation/ace_ets_module_navigation_api11/entry/src/main/ets/test/NavigationTest/
H A DnavigationType.test.ets29 console.info("get navigationType state success " + JSON.stringify(pages));
31 console.info("get navigationType state success " + JSON.stringify(pages.name));
33 console.info("push navigationType page success " + JSON.stringify(result));
46 console.info('ArkUX_Navigation_1600 START :' + JSON.stringify(strJson));
47 console.info("ArkUX_Navigation_1600 JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson)));
48 expect(JSON.parse(strJson).$attrs.mode).assertEqual("NavigationMode.AUTO");
49 expect(JSON.parse(strJson).$attrs.minContentWidth).assertEqual("50.00vp");
50 expect(JSON
[all...]
/third_party/json/docs/examples/
H A Dbasic_json__CompatibleType.cpp9 #include <nlohmann/json.hpp>
11 using json = nlohmann::json;
20 json::object_t object_value = { {"one", 1}, {"two", 2} }; in main()
21 json j_object_t(object_value); in main()
28 json j_map(c_map); in main()
35 json j_umap(c_umap); in main()
42 json j_mmap(c_mmap); // only one entry for key "three" is used in main()
49 json j_ummap(c_ummap); // only one entry for key "three" is used in main()
51 // serialize the JSON object in main()
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/moduleResolution/
H A Dpackage-json-file-is-edited-when-package-json-with-type-module-exists.js1 Info 0 [00:00:27.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
12 //// [/user/username/projects/myproject/src/tsconfig.json]
25 //// [/user/username/projects/myproject/package.json]
49 Info 3 [00:00:30.000] For info: /user/username/projects/myproject/src/fileA.ts :: Config file name: /user/username/projects/myproject/src/tsconfig.json
50 Info 4 [00:00:31.000] Creating configuration project /user/username/projects/myproject/src/tsconfig.json
51 Info 5 [00:00:32.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Config file
53 {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/user/username/projects/myproject/src/tsconfig.json","reason":"Creating possible configured project for /user/username/projects/myproject/src/fileA.ts to open"}}
54 Info 7 [00:00:34.000] Config: /user/username/projects/myproject/src/tsconfig.json : {
64 "configFilePath": "/user/username/projects/myproject/src/tsconfig.json"
[all...]
H A Dpackage-json-file-is-edited.js1 Info 0 [00:00:27.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
12 //// [/user/username/projects/myproject/src/tsconfig.json]
25 //// [/user/username/projects/myproject/package.json]
49 Info 3 [00:00:30.000] For info: /user/username/projects/myproject/src/fileA.ts :: Config file name: /user/username/projects/myproject/src/tsconfig.json
50 Info 4 [00:00:31.000] Creating configuration project /user/username/projects/myproject/src/tsconfig.json
51 Info 5 [00:00:32.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Config file
53 {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/user/username/projects/myproject/src/tsconfig.json","reason":"Creating possible configured project for /user/username/projects/myproject/src/fileA.ts to open"}}
54 Info 7 [00:00:34.000] Config: /user/username/projects/myproject/src/tsconfig.json : {
64 "configFilePath": "/user/username/projects/myproject/src/tsconfig.json"
[all...]
/third_party/typescript/tests/baselines/reference/
H A DrequireOfJsonFile_PathMapping.trace.json2 "======== Resolving module 'foo/bar/foobar.json' from '/a.ts'. ========",
4 "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.json'.",
5 "'paths' option is specified, looking for a pattern to match module name 'foo/bar/foobar.json'.",
6 "Module name 'foo/bar/foobar.json', matched pattern '*'.",
7 "Trying substitution 'node_modules/*', candidate module location: 'node_modules/foo/bar/foobar.json'.",
8 "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.json', target file type 'TypeScript'.",
9 "File '/node_modules/foo/bar/foobar.json.ts' does not exist.",
10 "File '/node_modules/foo/bar/foobar.json.tsx' does not exist.",
11 "File '/node_modules/foo/bar/foobar.json.d.ts' does not exist.",
12 "File '/node_modules/foo/bar/foobar.json
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/test/
H A DprogressProps.test.js64 console.info("push progressProps page success " + JSON.stringify(result));
66 console.error("push progressProps page error " + JSON.stringify(result));
88 console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
90 let obj = JSON.parse(globalThis.value.idProp);
91 console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
92 console.info("[progressProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
106 console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
108 let obj = JSON.parse(globalThis.value.classProp);
109 console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
110 console.info("[progressProps] get inspector attrs value is: " + JSON
[all...]
H A DratingProps.test.js63 console.info("push ratingProps page success " + JSON.stringify(result));
65 console.error("push ratingProps page error " + JSON.stringify(result));
87 console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
89 let obj = JSON.parse(globalThis.value.idProp);
90 console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
91 console.info("[ratingProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
105 console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
107 let obj = JSON.parse(globalThis.value.classProp);
108 console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
109 console.info("[ratingProps] get inspector attrs value is: " + JSON
[all...]
H A DcanvasProps.test.js64 console.info("push canvasProps page success " + JSON.stringify(result))
66 console.error("push canvasProps page error " + JSON.stringify(result))
88 console.info("[canvasProps] get globalThis.value is: " + JSON.stringify(globalThis.value))
90 let obj = JSON.parse(globalThis.value.idProp)
91 console.info("[canvasProps] get inspector value is: " + JSON.stringify(obj))
92 console.info("[canvasProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs))
106 console.info("[canvasProps] get globalThis.value is: " + JSON.stringify(globalThis.value))
108 let obj = JSON.parse(globalThis.value.classProp)
109 console.info("[canvasProps] get inspector value is: " + JSON.stringify(obj))
110 console.info("[canvasProps] get inspector attrs value is: " + JSON
[all...]
H A DlineProps.test.js64 console.info("push lineProps page success " + JSON.stringify(result));
66 console.error("push lineProps page error " + JSON.stringify(result));
88 console.info("[lineProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
90 let obj = JSON.parse(globalThis.value.opacityPropOne);
91 console.info("[lineProps] get inspector value is: " + JSON.stringify(obj));
92 console.info("[lineProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
95 console.info("[lineProps] get inspector $type value is: " + JSON.stringify(obj.$attrs.$type));
97 console.info("[lineProps] get inspector id value is: " + JSON.stringify(obj.$attrs.id));
99 console.info("[lineProps] get inspector x1 value is: " + JSON.stringify(obj.$attrs.x1));
101 console.info("[lineProps] get inspector x2 value is: " + JSON
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/test/
H A DprogressProps.test.js64 console.info("push progressProps page success " + JSON.stringify(result));
66 console.error("push progressProps page error " + JSON.stringify(result));
88 console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
90 let obj = JSON.parse(globalThis.value.idProp);
91 console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
92 console.info("[progressProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
106 console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
108 let obj = JSON.parse(globalThis.value.classProp);
109 console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
110 console.info("[progressProps] get inspector attrs value is: " + JSON
[all...]
H A DratingProps.test.js63 console.info("push ratingProps page success " + JSON.stringify(result));
65 console.error("push ratingProps page error " + JSON.stringify(result));
87 console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
89 let obj = JSON.parse(globalThis.value.idProp);
90 console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
91 console.info("[ratingProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
105 console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
107 let obj = JSON.parse(globalThis.value.classProp);
108 console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
109 console.info("[ratingProps] get inspector attrs value is: " + JSON
[all...]
H A DcanvasProps.test.js64 console.info("push canvasProps page success " + JSON.stringify(result))
66 console.error("push canvasProps page error " + JSON.stringify(result))
88 console.info("[canvasProps] get globalThis.value is: " + JSON.stringify(globalThis.value))
90 let obj = JSON.parse(globalThis.value.idProp)
91 console.info("[canvasProps] get inspector value is: " + JSON.stringify(obj))
92 console.info("[canvasProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs))
106 console.info("[canvasProps] get globalThis.value is: " + JSON.stringify(globalThis.value))
108 let obj = JSON.parse(globalThis.value.classProp)
109 console.info("[canvasProps] get inspector value is: " + JSON.stringify(obj))
110 console.info("[canvasProps] get inspector attrs value is: " + JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_select/ace_ets_module_select_api12/entry/src/main/ets/test/
H A DSelectMenu.ets31 console.info("get SelectMenu state success " + JSON.stringify(pages));
33 console.info("get SelectMenu state success " + JSON.stringify(pages.name));
35 console.info("push SelectMenu page success " + JSON.stringify(result));
38 console.error("push SelectMenu page error " + JSON.stringify(err));
57 console.info("[ArkUXII_Stage_Select_Menu_MenuAlign_0100]:" + JSON.stringify(JSON.parse(strJson)
60 expect(JSON.parse(strJson).$attrs.menuAlign.alignType).assertEqual("MenuAlignType.Start");
64 console.info('ArkUXII_Stage_Select_Menu_MenuAlign_0100 ERR ' + JSON.stringify(err));
84 console.info("[ArkUXII_Stage_Select_Menu_MenuAlign_0200]:" + JSON.stringify(JSON
[all...]
/third_party/json/tests/src/
H A Dunit-binary_formats.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
11 #include <nlohmann/json.hpp>
12 using nlohmann::json;
19 SECTION("canada.json")
21 const auto* filename = TEST_DATA_DIRECTORY "/nativejson-benchmark/canada.json";
22 json j = json::parse(std::ifstream(filename));
25 const auto bjdata_1_size = json::to_bjdata(j).size();
26 const auto bjdata_2_size = json
[all...]

Completed in 26 milliseconds

12345678910>>...977