| /test/xts/acts/arkui/ace_standard/entry/src/main/js/test/ |
| H A D | animateTransformProps.test.js | 66 console.info("push "+name+"Props page success " + JSON.stringify(result));
68 console.error("push "+name+"Props page error " + JSON.stringify(result));
90 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
92 let obj = JSON.parse(globalThis.value.idProp);
93 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
94 console.info("["+name+"Props] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
108 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
110 let obj = JSON.parse(globalThis.value.attributeNameProp);
111 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
112 console.info("["+name+"Props] get inspector attrs value is: " + JSON [all...] |
| H A D | spanProps.test.js | 63 console.info("push spanProps page success " + JSON.stringify(result));
65 console.error("push spanProps page error " + JSON.stringify(result));
87 console.info("[spanProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
89 let obj = JSON.parse(globalThis.value.idProp);
90 console.info("[spanProps] get inspector value is: " + JSON.stringify(obj));
91 console.info("[spanProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
100 console.info("[spanProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
102 let obj = JSON.parse(globalThis.value.classProp);
103 console.info("[spanProps] get inspector value is: " + JSON.stringify(obj));
104 console.info("[spanProps] get inspector attrs value is: " + JSON [all...] |
| /test/xts/acts/arkui/ace_standard/entry/src/main/js/default/test/ |
| H A D | animateMotionProps.test.js | 66 console.info("push "+name+"Props page success " + JSON.stringify(result));
68 console.error("push "+name+"Props page error " + JSON.stringify(result));
90 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
92 let obj = JSON.parse(globalThis.value.idProp);
93 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
94 console.info("["+name+"Props] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
108 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
110 let obj = JSON.parse(globalThis.value.attributeNameProp);
111 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
112 console.info("["+name+"Props] get inspector attrs value is: " + JSON [all...] |
| H A D | animateTransformProps.test.js | 66 console.info("push "+name+"Props page success " + JSON.stringify(result));
68 console.error("push "+name+"Props page error " + JSON.stringify(result));
90 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
92 let obj = JSON.parse(globalThis.value.idProp);
93 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
94 console.info("["+name+"Props] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
108 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
110 let obj = JSON.parse(globalThis.value.attributeNameProp);
111 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
112 console.info("["+name+"Props] get inspector attrs value is: " + JSON [all...] |
| H A D | spanProps.test.js | 63 console.info("push spanProps page success " + JSON.stringify(result));
65 console.error("push spanProps page error " + JSON.stringify(result));
87 console.info("[spanProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
89 let obj = JSON.parse(globalThis.value.idProp);
90 console.info("[spanProps] get inspector value is: " + JSON.stringify(obj));
91 console.info("[spanProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
100 console.info("[spanProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
102 let obj = JSON.parse(globalThis.value.classProp);
103 console.info("[spanProps] get inspector value is: " + JSON.stringify(obj));
104 console.info("[spanProps] get inspector attrs value is: " + JSON [all...] |
| /test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/test/ |
| H A D | animateMotionProps.test.js | 66 console.info("push "+name+"Props page success " + JSON.stringify(result));
68 console.error("push "+name+"Props page error " + JSON.stringify(result));
90 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
92 let obj = JSON.parse(globalThis.value.idProp);
93 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
94 console.info("["+name+"Props] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
108 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
110 let obj = JSON.parse(globalThis.value.attributeNameProp);
111 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
112 console.info("["+name+"Props] get inspector attrs value is: " + JSON [all...] |
| H A D | animateTransformProps.test.js | 66 console.info("push "+name+"Props page success " + JSON.stringify(result));
68 console.error("push "+name+"Props page error " + JSON.stringify(result));
90 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
92 let obj = JSON.parse(globalThis.value.idProp);
93 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
94 console.info("["+name+"Props] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
108 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
110 let obj = JSON.parse(globalThis.value.attributeNameProp);
111 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
112 console.info("["+name+"Props] get inspector attrs value is: " + JSON [all...] |
| H A D | spanProps.test.js | 63 console.info("push spanProps page success " + JSON.stringify(result));
65 console.error("push spanProps page error " + JSON.stringify(result));
87 console.info("[spanProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
89 let obj = JSON.parse(globalThis.value.idProp);
90 console.info("[spanProps] get inspector value is: " + JSON.stringify(obj));
91 console.info("[spanProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
100 console.info("[spanProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
102 let obj = JSON.parse(globalThis.value.classProp);
103 console.info("[spanProps] get inspector value is: " + JSON.stringify(obj));
104 console.info("[spanProps] get inspector attrs value is: " + JSON [all...] |
| /test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/test/ |
| H A D | animateMotionProps.test.js | 66 console.info("push "+name+"Props page success " + JSON.stringify(result));
68 console.error("push "+name+"Props page error " + JSON.stringify(result));
90 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
92 let obj = JSON.parse(globalThis.value.idProp);
93 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
94 console.info("["+name+"Props] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
108 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
110 let obj = JSON.parse(globalThis.value.attributeNameProp);
111 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
112 console.info("["+name+"Props] get inspector attrs value is: " + JSON [all...] |
| H A D | animateTransformProps.test.js | 66 console.info("push "+name+"Props page success " + JSON.stringify(result));
68 console.error("push "+name+"Props page error " + JSON.stringify(result));
90 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
92 let obj = JSON.parse(globalThis.value.idProp);
93 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
94 console.info("["+name+"Props] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
108 console.info("["+name+"Props] get globalThis.value is: " + JSON.stringify(globalThis.value));
110 let obj = JSON.parse(globalThis.value.attributeNameProp);
111 console.info("["+name+"Props] get inspector value is: " + JSON.stringify(obj));
112 console.info("["+name+"Props] get inspector attrs value is: " + JSON [all...] |
| H A D | spanProps.test.js | 63 console.info("push spanProps page success " + JSON.stringify(result));
65 console.error("push spanProps page error " + JSON.stringify(result));
87 console.info("[spanProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
89 let obj = JSON.parse(globalThis.value.idProp);
90 console.info("[spanProps] get inspector value is: " + JSON.stringify(obj));
91 console.info("[spanProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
100 console.info("[spanProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
102 let obj = JSON.parse(globalThis.value.classProp);
103 console.info("[spanProps] get inspector value is: " + JSON.stringify(obj));
104 console.info("[spanProps] get inspector attrs value is: " + JSON [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_information/ace_ets_module_information_api11/entry/src/main/ets/MainAbility/common/ |
| H A D | Common.ets | 38 console.info("[getInspectorByKey] current component obj is: " + JSON.stringify(JSON.parse(strJson))); 39 console.info("[getInspectorByKey] rectInfo is: " + JSON.parse('[' + JSON.parse(strJson).$rect + ']')); 40 CommonFunc.rect_left = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[0] 41 CommonFunc.rect_top = JSON.parse('[' + JSON.parse('[' + JSON [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_commonAttrsVisual/ace_ets_module_commonAttrsVisual_api11/entry/src/main/ets/MainAbility/common/ |
| H A D | Common.ets | 38 console.info("[getInspectorByKey] current component obj is: " + JSON.stringify(JSON.parse(strJson))); 39 console.info("[getInspectorByKey] rectInfo is: " + JSON.parse('[' + JSON.parse(strJson).$rect + ']')); 40 CommonFunc.rect_left = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[0] 41 CommonFunc.rect_top = JSON.parse('[' + JSON.parse('[' + JSON [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_commonAttrsVisual/ace_ets_module_commonAttrsVisual_api12/entry/src/main/ets/MainAbility/common/ |
| H A D | Common.ets | 38 console.info("[getInspectorByKey] current component obj is: " + JSON.stringify(JSON.parse(strJson))); 39 console.info("[getInspectorByKey] rectInfo is: " + JSON.parse('[' + JSON.parse(strJson).$rect + ']')); 40 CommonFunc.rect_left = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[0] 41 CommonFunc.rect_top = JSON.parse('[' + JSON.parse('[' + JSON [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_uicontext/ace_ets_module_uicontext_api12/entry/src/main/ets/MainAbility/common/ |
| H A D | Common.ets | 38 console.info('[getInspectorByKey] current component obj is: ' + JSON.stringify(JSON.parse(strJson))); 39 console.info('[getInspectorByKey] rectInfo is: ' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')); 40 CommonFunc.rectLeft = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[0] 41 CommonFunc.rectTop = JSON.parse('[' + JSON.parse('[' + JSON [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_uicontext/ace_ets_module_uicontext_api13/entry/src/main/ets/MainAbility/common/ |
| H A D | Common.ets | 38 console.info('[getInspectorByKey] current component obj is: ' + JSON.stringify(JSON.parse(strJson))); 39 console.info('[getInspectorByKey] rectInfo is: ' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')); 40 CommonFunc.rectLeft = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[0] 41 CommonFunc.rectTop = JSON.parse('[' + JSON.parse('[' + JSON [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_picker/ace_ets_module_picker_api11/entry/src/main/ets/test/SliderTest/ |
| H A D | SliderTest.ets | 32 console.info("get sliderTest state pages: " + JSON.stringify(pages));
34 console.info("get sliderTest state pages.name: " + JSON.stringify(pages.name));
37 console.info("push sliderTest page result: " + JSON.stringify(result));
56 let obj: Record<string, ESObject> = JSON.parse(strJson);
57 console.info("----ArkUX_Stage_blockBorderColor_0100 is" + JSON.stringify(obj.$attrs.blockBorderColor));
62 console.info('ArkUX_Stage_Slider_blockBorderColor_0100 ERROR: ' + JSON.stringify(err));
78 let obj: Record<string, ESObject> = JSON.parse(strJson);
79 console.info("----ArkUX_Stage_blockBorderColor_0200 is" + JSON.stringify(obj.$attrs.blockBorderColor));
84 console.info('ArkUX_Stage_Slider_blockBorderColor_0200 ERROR: ' + JSON.stringify(err));
100 let obj: Record<string, ESObject> = JSON [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_draw/ace_ets_module_draw_api11/entry/src/main/ets/test/lineTest/ |
| H A D | LineJsunit.test.ets | 29 console.info("get line state success " + JSON.stringify(pages));
31 console.info("get line state success " + JSON.stringify(pages.name));
34 console.info("push line page success " + JSON.stringify(result));
52 console.info("lineTest_0100 component JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson)));
53 expect(JSON.parse(strJson).$attrs.startPoint[0]).assertEqual(0);
61 console.info("lineTest_0200 component JSON.parse(strJson) is: " + JSON.stringify(JSON [all...] |
| /third_party/node/deps/npm/tap-snapshots/test/lib/commands/ |
| H A D | shrinkwrap.js.test.cjs | 12 ".package-lock.json": { 24 "created a lockfile as npm-shrinkwrap.json" 33 ".package-lock.json": { 48 "created a lockfile as npm-shrinkwrap.json with version 3" 57 ".package-lock.json": { 70 "created a lockfile as npm-shrinkwrap.json" 79 ".package-lock.json": { 93 "created a lockfile as npm-shrinkwrap.json with version 1" 102 ".package-lock.json": { 117 "created a lockfile as npm-shrinkwrap.json wit [all...] |
| /third_party/json/tests/src/ |
| H A D | unit-udt_macro.cpp | 2 // __| | __| | | | JSON for Modern C++ (supporting code) 4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json 13 #include <nlohmann/json.hpp> 14 using nlohmann::json; 23 json metadata = nullptr; 32 person_with_private_data(std::string name_, int age_, json metadata_) in person_with_private_data() 46 json metadata = nullptr; 55 person_with_private_data_2(std::string name_, int age_, json metadata_) in person_with_private_data_2() 69 json getMetadata() const in getMetadata() 82 json metadat 301 CHECK(json(T(json(p1))) == json(p1)); global() variable 330 CHECK(json(T(json(p1))) == json(p1)); global() variable [all...] |
| H A D | unit-readme.cpp | 2 // __| | __| | | | JSON for Modern C++ (supporting code) 4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json 11 #include <nlohmann/json.hpp> 12 using nlohmann::json; 40 json j; 63 // instead, you could also write (which looks very similar to the JSON above) 64 json j2 = 87 json empty_array_implicit = {{}}; 89 json empty_array_explicit = json [all...] |
| H A D | unit-capacity.cpp | 2 // __| | __| | | | JSON for Modern C++ (supporting code) 4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json 12 #include <nlohmann/json.hpp> 13 using nlohmann::json; 21 json j = true; 22 const json j_const(j); 39 json j = "hello world"; 40 const json j_const(j); 59 json j = json [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
| H A D | list_layout_property.cpp | 20 V2::ItemDivider ItemDividerFromJson(const std::unique_ptr<JsonValue>& json) in ItemDividerFromJson() argument 23 divider.strokeWidth = Dimension::FromString(json->GetString("strokeWidth")); in ItemDividerFromJson() 24 divider.startMargin = Dimension::FromString(json->GetString("startMargin")); in ItemDividerFromJson() 25 divider.endMargin = Dimension::FromString(json->GetString("endMargin")); in ItemDividerFromJson() 26 divider.color = Color::ColorFromString(json->GetString("color")); in ItemDividerFromJson() 31 void ListLayoutProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const in ToJsonValue() argument 33 LayoutProperty::ToJsonValue(json, filter); in ToJsonValue() 36 ScrollSnapPropToJsonValue(json, filter); in ToJsonValue() 39 json->PutExtAttr("space", propSpace_.value_or(Dimension(0, DimensionUnit::VP)).ToString().c_str(), filter); in ToJsonValue() 40 json in ToJsonValue() 83 ScrollSnapPropToJsonValue( std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const ScrollSnapPropToJsonValue() argument 103 FromJson(const std::unique_ptr<JsonValue>& json) FromJson() argument [all...] |
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/serializable/ |
| H A D | serializable.h | 25 #include <nlohmann/json.hpp> 33 using json = nlohmann::json; 34 using size_type = nlohmann::json::size_type; 37 API_EXPORT json Marshall() const; 41 json root; in Marshall() 52 API_EXPORT static json ToJson(const std::string &jsonStr); 54 virtual bool Marshal(json &node) const = 0; 55 virtual bool Unmarshal(const json &node) = 0; 56 API_EXPORT static bool GetValue(const json [all...] |
| /third_party/node/deps/npm/test/lib/commands/ |
| H A 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 [all...] |