Home
last modified time | relevance | path

Searched full:json (Results 501 - 525 of 27069) sorted by relevance

1...<<21222324252627282930>>...1083

/test/xts/acts/telephony/networkmanager/websocket/websocketalltest/entry/src/ohosTest/ets/test/
H A DWebSocketApi.test.ets47 'Content-Type': 'application/json'
114 console.info(`${caseName} test result error ${JSON.stringify(error)} and value is ${value}`);
120 console.info(`${caseName} catch error ${JSON.stringify(err)}`);
140 console.info(`${caseName} test result error ${JSON.stringify(error)} and value is ${value}`);
146 console.info(`${caseName} catch error ${JSON.stringify(err)}`);
166 console.info(`${caseName} test result error ${JSON.stringify(error)} and value is ${value}`);
172 console.info(`${caseName} catch error ${JSON.stringify(err)}`);
192 console.info(`${caseName} test result error ${JSON.stringify(error)} and value is ${value}`);
198 console.info(`${caseName} catch error ${JSON.stringify(err)}`);
219 console.info(`${caseName} findError" + ${JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_animation/ace_ets_module_animation_api11/entry/src/main/ets/test/
H A Danimateto.test.ets33 console.info("get animateto state success " + JSON.stringify(pages));
35 console.info("get animateto state success " + JSON.stringify(pages.name));
37 console.info("push animateto page success " + JSON.stringify(result));
56 console.info("animateTest_0100 get state result is: " + JSON.stringify(indexEvent))
60 console.info("animateTest_0100 get state result is err: " + JSON.stringify(err));
66 console.info("animateTest_0100 on events_emitter err : " + JSON.stringify(err));
68 console.info("animateTest_0100 click result is: " + JSON.stringify(sendEventByKey('button1', 10, "")));
80 console.info("animateTest_0200 get state result is: " + JSON.stringify(indexEvent))
86 console.info("animateTest_0200 on events_emitter err : " + JSON.stringify(err));
88 console.info("animateTest_0200 click result is: " + JSON
[all...]
/foundation/arkui/ace_engine/test/component_test/test_cases/components/information_display/entry/src/main/ets/pages/MyTest/
H A DDataPanelValueColorsTest_one.ets56 assertEqual(JSON.parse(valueColors1)
61 assertEqual(JSON.parse(valueColors1)
65 assertEqual(JSON.parse(valueColors1)
70 assertEqual(JSON.parse(valueColors1)
74 assertEqual(JSON.parse(valueColors1)
79 assertEqual(JSON.parse(valueColors1)
83 assertEqual(JSON.parse(valueColors1)
88 assertEqual(JSON.parse(valueColors1)
92 assertEqual(JSON.parse(valueColors1)
97 assertEqual(JSON
[all...]
/third_party/json/docs/mkdocs/docs/api/basic_json/
H A Dbasic_json.md39 1. Create an empty JSON value with a given type. The value will be default initialized with an empty value which depends
44 | null | `#!json null` |
45 | boolean | `#!json false` |
46 | string | `#!json ""` |
47 | number | `#!json 0` |
48 | object | `#!json {}` |
49 | array | `#!json []` |
54 2. Create a `#!json null` JSON value. It either takes a null pointer as parameter (explicitly creating `#!json nul
[all...]
/third_party/node/deps/npm/test/lib/commands/
H A Doutdated.js79 'package.json': JSON.stringify({
87 'package.json': JSON.stringify({
107 'package.json': JSON.stringify({
116 'package.json': JSON.stringify({
124 'package.json': JSON
[all...]
H A Dversion.js13 '{ROOT}/package.json': { version: '1.0.0' },
28 'package.json': JSON.stringify({
71 t.test('failure reading package.json', async t => {
90 t.test('--json option', async t => {
92 config: { json: true },
96 t.same(result(), ['{\n "npm": "1.0.0"\n}'], 'should return json stringified result')
114 'package.json': JSON.stringify(
124 'package.json'
[all...]
/third_party/typescript/tests/baselines/reference/
H A DjsDeclarationsPackageJson.symbols2 const j = require("./package.json");
5 >"./package.json" : Symbol("tests/cases/conformance/jsdoc/declarations/package", Decl(package.json, 0, 0))
13 === tests/cases/conformance/jsdoc/declarations/package.json ===
16 >"name" : Symbol("name", Decl(package.json, 0, 1))
19 >"version" : Symbol("version", Decl(package.json, 1, 18))
22 >"description" : Symbol("description", Decl(package.json, 2, 23))
25 >"main" : Symbol("main", Decl(package.json, 3, 31))
28 >"bin" : Symbol("bin", Decl(package.json, 4, 30))
31 >"cli" : Symbol("cli", Decl(package.json,
[all...]
/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_func_test.cpp139 CJson *json = CreateJson(); in OnBindRequest() local
140 AddIntToJson(json, FIELD_CONFIRMATION, REQUEST_ACCEPTED); in OnBindRequest()
141 AddIntToJson(json, FIELD_OS_ACCOUNT_ID, TEST_AUTH_OS_ACCOUNT_ID); in OnBindRequest()
142 AddStringToJson(json, FIELD_PIN_CODE, TEST_PIN_CODE); in OnBindRequest()
143 AddStringToJson(json, FIELD_DEVICE_ID, TEST_AUTH_ID2); in OnBindRequest()
144 char *returnDataStr = PackJsonToString(json); in OnBindRequest()
145 FreeJson(json); in OnBindRequest()
151 CJson *json = CreateJson(); in OnBindRequestMismatch() local
152 AddIntToJson(json, FIELD_CONFIRMATION, REQUEST_ACCEPTED); in OnBindRequestMismatch()
153 AddIntToJson(json, FIELD_OS_ACCOUNT_I in OnBindRequestMismatch()
163 CJson *json = CreateJson(); OnBindRequest1() local
174 CJson *json = CreateJson(); OnBindRequest2() local
186 CJson *json = CreateJson(); OnAuthRequest() local
198 CJson *json = CreateJson(); OnRejectRequest() local
218 CJson *json = CreateJson(); OnInvalidRequest1() local
229 CJson *json = CreateJson(); OnInvalidRequest2() local
241 CJson *json = CreateJson(); OnInvalidRequest3() local
252 CJson *json = CreateJson(); OnInvalidRequest4() local
263 CJson *json = CreateJson(); OnAuthRequestDirectTmp() local
274 CJson *json = CreateJson(); OnAuthRequestDirect() local
403 CJson *json = CreateJson(); AuthDeviceDirectWithPinDemo() local
451 CJson *json = CreateJson(); AuthDeviceDirectDemo() local
541 CJson *json = CreateJson(); ProcessCredentiaCreateDemo() local
583 CJson *json = CreateJson(); ProcessCredentialQueryDemo() local
620 CJson *json = CreateJson(); ProcessCredentialDemoImpPubKey() local
658 CJson *json = CreateJson(); CreateServerKeyPair() local
696 CJson *json = CreateJson(); DeleteServerKeyPair() local
734 CJson *json = CreateJson(); DeleteAllCredentails() local
768 CJson *json = CreateJson(); ProcessCredentialDemo() local
807 CJson *json = CreateJson(); ProcessCredentialDemoImport() local
1017 CJson *json = CreateJson(); CreateClientIdenticalAccountGroup() local
1050 CJson *json = CreateJson(); CreateServerIdenticalAccountGroup() local
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectsWithReferences/
H A Dtransitive-references-with-deleting-transitively-referenced-config-file.js1 Info 0 [00:00:39.000] Provided types map file "/typesMap.json" doesn't exist
16 //// [/user/username/projects/myproject/a/tsconfig.json]
19 //// [/user/username/projects/myproject/b/tsconfig.json]
22 //// [/user/username/projects/myproject/c/tsconfig.json]
50 Info 2 [00:00:41.000] For info: /user/username/projects/myproject/c/index.ts :: Config file name: /user/username/projects/myproject/c/tsconfig.json
51 Info 3 [00:00:42.000] Creating configuration project /user/username/projects/myproject/c/tsconfig.json
52 Info 4 [00:00:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file
53 Info 5 [00:00:44.000] Config: /user/username/projects/myproject/c/tsconfig.json : {
65 "configFilePath": "/user/username/projects/myproject/c/tsconfig.json"
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/test/
H A DcommonComponentJsApi.test.js60 console.info("push stepper page success " + JSON.stringify(result));
62 console.error("push stepper page error " + JSON.stringify(result));
66 console.info("[router.stepper] getState" + JSON.stringify(pages));
86 console.info("push button page success " + JSON.stringify(result));
88 console.error("push button page error " + JSON.stringify(result));
92 console.info("[router.button] getState" + JSON.stringify(pages));
111 console.info("push button page success " + JSON.stringify(result));
113 console.error("push button page error " + JSON.stringify(result));
117 console.info("[router.input] getState" + JSON.stringify(pages));
135 console.info("push button page success " + JSON
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/test/
H A DcommonComponentJsApi.test.js60 console.info("push stepper page success " + JSON.stringify(result));
62 console.error("push stepper page error " + JSON.stringify(result));
66 console.info("[router.stepper] getState" + JSON.stringify(pages));
86 console.info("push button page success " + JSON.stringify(result));
88 console.error("push button page error " + JSON.stringify(result));
92 console.info("[router.button] getState" + JSON.stringify(pages));
111 console.info("push button page success " + JSON.stringify(result));
113 console.error("push button page error " + JSON.stringify(result));
117 console.info("[router.input] getState" + JSON.stringify(pages));
135 console.info("push button page success " + JSON
[all...]
/test/xts/acts/graphic/windowStage/entry/src/ohosTest/ets/test/
H A DdisplayAndWindowRefactorInterface.test.ets24 console.log(msgStr + 'createWindow err.code: ' + JSON.stringify(err.code))
28 console.log(msgStr + 'assertFail catch' + JSON.stringify(err));
32 console.info(msgStr + 'Succeeded in creating the window. Data: ' + JSON.stringify(data));
44 console.error(msgStr + 'Failed to change the window size. Cause:' + JSON.stringify(err));
48 console.log(msgStr + 'assertFail catch' + JSON.stringify(err));
56 console.error(msgStr + 'Failed to change the window size. Cause:' + JSON.stringify(exception));
89 console.info(msgStr + 'Succeeded in creating the window. Data:' + JSON.stringify(data));
91 console.log(msgStr + 'ohosWindow.createWindow ' + 'catched, err: ' + JSON.stringify(err));
117 console.info(msgStr + 'Succeeded in creating the window. Data:' + JSON.stringify(data));
119 console.log(msgStr + 'ohosWindow.createWindow 1 once err: ' + JSON
[all...]
/foundation/arkui/ace_engine/test/component_test/test_cases/components/text_and_input/entry/src/main/ets/pages/MyTest/
H A DTextInputCancelButtonTest.ets61 assertEqual(JSON.parse(JSON.parse(cancelButton1).$attrs.cancelButton).style, 2)
62 assertEqual(JSON.parse(JSON.parse(JSON.parse(cancelButton1).$attrs.cancelButton).icon).size, '45.00vp')
63 assertEqual(JSON.parse(JSON.parse(JSON.parse(cancelButton1).$attrs.cancelButton).icon).color, '#FF0000FF')
64 assertEqual(JSON.parse(JSON
[all...]
/test/xts/acts/ability/ability_runtime/actssupportfunction/actssupportfunctiontest/entry/src/ohosTest/ets/test/
H A DFaSetDisplayOrientation.test.ets41 console.log(TAG1 + "startAbility data : " + JSON.stringify(data));
44 console.log(TAG1 + "startAbility err : " + JSON.stringify(err));
56 console.log(TAG1 + "executeShellCommand error : " + JSON.stringify(error));
65 console.log(TAG1 + "executeShellCommand error : " + JSON.stringify(error));
109 console.log(TAG + "createSubscriber data : " + JSON.stringify(data));
113 console.log(TAG + "SubscribeInfoCallback : " + JSON.stringify(data));
121 console.log(TAG + "UnSubscribeInfoCallback : " + JSON.stringify(data));
122 expect(JSON.stringify(lifeList)).assertEqual(JSON.stringify(listCheck));
133 console.log(TAG + "createSubscriber data : " + JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_dialog/ace_ets_module_dialog_api11/entry/src/main/ets/test/panelTest/
H A DpanelClose.ets32 console.info("get panel state success " + JSON.stringify(pages));
34 console.info("get panel state success " + JSON.stringify(pages.name));
37 console.info("push panel page success " + JSON.stringify(result));
59 console.info('ArkUX_Stage_Panel_showCloseIcon_0100 START :' + JSON.stringify(strJson));
60 let obj: ESObject = JSON.parse(strJson);
62 JSON.stringify(obj.$attrs.showCloseIcon));
67 console.info('ArkUX_Stage_Panel_showCloseIcon_0100 ERR ' + JSON.stringify(err));
81 console.info('ArkUX_Stage_Panel_showCloseIcon_0200 START :' + JSON.stringify(strJson));
82 let obj: ESObject = JSON.parse(strJson);
84 JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_dialog/ace_ets_module_dialog_api11/entry/src/main/ets/test/Panel/
H A DpanelClose.ets32 console.info("get panel state success " + JSON.stringify(pages));
34 console.info("get panel state success " + JSON.stringify(pages.name));
37 console.info("push panel page success " + JSON.stringify(result));
59 console.info('ArkUX_Stage_Panel_showCloseIcon_0100 START :' + JSON.stringify(strJson));
60 let obj: ESObject = JSON.parse(strJson);
62 JSON.stringify(obj.$attrs.showCloseIcon));
67 console.info('ArkUX_Stage_Panel_showCloseIcon_0100 ERR ' + JSON.stringify(err));
81 console.info('ArkUX_Stage_Panel_showCloseIcon_0200 START :' + JSON.stringify(strJson));
82 let obj: ESObject = JSON.parse(strJson);
84 JSON
[all...]
/test/xts/acts/telephony/telephonyjstest/actscontactstageapitest/entry/src/ohosTest/ets/test/
H A Dcontactstage.test.ets57 console.info(`getPermission error ${JSON.stringify(err)}`);
77 console.info(`afterEach queryContacts catch err: ${JSON.stringify(queryErr)}`);
91 console.info(`afterEach deleteContact catch err: ${JSON.stringify(deleteErr)}`);
95 console.info(`afterEach catch error: ${JSON.stringify(error)}`);
202 console.info("SUB_Telephony_ContactsApi_query_key_test_0100 : query resultSet = " + JSON.stringify(resultSet));
203 expect(JSON.stringify(resultSet) === null).assertFalse();
224 console.log(`${caseName} add contact err>${JSON.stringify(err)}`)
228 console.log(`${caseName} add contact success>${JSON.stringify(rawContactId)}`)
232 console.log(`${caseName} keyerr err>${JSON.stringify(keyerr)}`);
236 console.log(`${caseName} keydata >${JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_imageText/ace_ets_module_imageText_api11/entry/src/main/ets/test/textTest/
H A DTextStateJsunit.test.ets28 console.info("get TextState state pages:" + JSON.stringify(pages));
30 console.info("get TextState state pages.name:" + JSON.stringify(pages.name));
33 console.info("push TextState page result:" + JSON.stringify(result));
50 let obj: ESObject = JSON.parse(strJson);
51 console.info("--->Text Shadow is :" + JSON.stringify(obj.$attrs.textShadow))
59 console.info('ArkUX_Stage_Text_TextShadow_0100 ERROR: ' + JSON.stringify(err))
75 let obj: ESObject = JSON.parse(strJson);
76 console.info("--->Text Shadow is:" + JSON.stringify(obj.$attrs.textShadow))
84 console.info('ArkUX_Stage_Text_TextShadow_0200 ERROR: ' + JSON.stringify(err))
100 let obj: ESObject = JSON
[all...]
H A DstageFont.test.ets36 console.info("get stageFont state success " + JSON.stringify(pages));
38 console.info("get stageFont state success " + JSON.stringify(pages.name));
63 console.info('Stage_Font_0100 START :' + JSON.stringify(strJson));
65 console.info("Stage_Font_0100 JSON.parse(strJson).$attrs.labelStyle is: " +
66 JSON.stringify(JSON.parse(strJson).$attrs.labelStyle));
68 JSON.stringify(JSON.parse(JSON.parse(strJson).$attrs.labelStyle)));
69 expect(JSON
[all...]
/third_party/json/docs/examples/
H A Djson_pointer.cpp2 #include <nlohmann/json.hpp>
4 using json = nlohmann::json;
8 // correct JSON pointers in main()
9 json::json_pointer p1; in main()
10 json::json_pointer p2(""); in main()
11 json::json_pointer p3("/"); in main()
12 json::json_pointer p4("//"); in main()
13 json::json_pointer p5("/foo/bar"); in main()
14 json in main()
[all...]
/base/hiviewdfx/hiview/base/utility/
H A Dcjson_util.cpp36 int64_t GetIntValue(const cJSON* json, const std::string& key, int64_t defaultValue) in GetIntValue() argument
38 if (json == nullptr || !cJSON_IsObject(json)) { in GetIntValue()
41 cJSON* intJson = cJSON_GetObjectItem(json, key.c_str()); in GetIntValue()
48 double GetDoubleValue(cJSON* json, const std::string& key, double defaultValue) in GetDoubleValue() argument
50 if (json == nullptr || !cJSON_IsObject(json)) { in GetDoubleValue()
53 cJSON* doubleJson = cJSON_GetObjectItem(json, key.c_str()); in GetDoubleValue()
60 std::string GetStringValue(cJSON* json, const std::string& key) in GetStringValue() argument
62 if (json in GetStringValue()
72 GetStringArray(cJSON* json, const std::string& key, std::vector<std::string>& dest) GetStringArray() argument
94 GetObjectValue(const cJSON* json, const std::string& key) GetObjectValue() argument
106 GetArrayValue(const cJSON* json, const std::string& key) GetArrayValue() argument
118 GetBoolValue(const cJSON* json, const std::string& key, bool& value) GetBoolValue() argument
[all...]
/foundation/arkui/ace_engine/test/component_test/test_cases/components/common/entry/src/main/ets/pages/MyTest/
H A DOutlineTest_one.ets50 assertEqual(JSON.parse(JSON.parse(outline1).$attrs.outline).width, $r("app.string.common_value_one"))
51 assertEqual(JSON.parse(JSON.parse(outline1).$attrs.outline).color, "#FFFF0000")
52 assertEqual(JSON.parse(JSON.parse(outline1).$attrs.outline).style.left, 'OutlineStyle.DASHED')
53 assertEqual(JSON.parse(JSON.parse(outline1).$attrs.outline).style.right, 'OutlineStyle.DASHED')
54 assertEqual(JSON.parse(JSON
[all...]
/third_party/node/deps/npm/test/lib/utils/completion/
H A Dinstalled-deep.js6 'package.json': JSON.stringify({
23 'package.json': JSON.stringify({
32 'package.json': JSON.stringify({
38 'package.json': JSON.stringify({
47 'package.json': JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_information/ace_ets_module_information_api11/entry/src/main/ets/test/QrcodeTest/
H A DQrCode3Jsunit.test.ets31 console.info("get QrCode state success " + JSON.stringify(pages));
33 console.info("get QrCode pages success " + JSON.stringify(pages.name));
36 console.info("push QrCode page success " + JSON.stringify(result));
54 console.info("[test_qrCode_001] component JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson)));
56 expect(JSON.parse(strJson).$attrs.backgroundColor).assertEqual('#FF008000');
57 expect(JSON.parse(strJson).$attrs.color).assertEqual('#FF0000FF');
82 console.info("[test_qrCode_002] component JSON.parse(strJson) is: " + JSON
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/generated/vulkansc/
H A Dvulkan_json_parser.hpp21 * \brief Defines JSON generators for Vulkan structures
38 #include <json/json.h>
116 static void parse_size_t(const char* s, Json::Value& obj, size_t& o) in parse_size_t()
122 static void parse_char(const char* s, Json::Value& obj, char o[]) in parse_char()
128 static void parse_char(const char* s, Json::Value& obj, const char* const*) in parse_char()
131 static void parse_char(const char* s, Json::Value& obj, const char** o) in parse_char()
141 static void parse_int32_t(const char* s, Json::Value& obj, deInt32& o) in parse_int32_t()
146 static void parse_uint32_t(const char* s, Json::Value& obj, deUint32& o) in parse_uint32_t()
197 static void parse_uint8_t(const char* s, Json
[all...]

Completed in 68 milliseconds

1...<<21222324252627282930>>...1083