Home
last modified time | relevance | path

Searched refs:get_to (Results 1 - 25 of 27) sorted by relevance

12

/third_party/json/docs/examples/
H A Dget_to.cpp35 json_types["boolean"].get_to(v1); in main()
36 json_types["number"]["integer"].get_to(v2); in main()
37 json_types["number"]["integer"].get_to(v3); in main()
38 json_types["number"]["floating-point"].get_to(v4); in main()
39 json_types["number"]["floating-point"].get_to(v5); in main()
40 json_types["string"].get_to(v6); in main()
41 json_types["array"].get_to(v7); in main()
42 json_types.get_to(v8); in main()
H A Dfrom_json__default_constructible.cpp21 j.at("name").get_to(p.name); in from_json()
22 j.at("address").get_to(p.address); in from_json()
23 j.at("age").get_to(p.age); in from_json()
/foundation/multimedia/av_codec/test/unittest/reference_parser_test/reference_parser_demo/
H A Dreference_parser_demo.cpp41 j.at("gopId").get_to(gop.gopId); in from_json()
42 j.at("gopSize").get_to(gop.gopSize); in from_json()
43 j.at("startFrameId").get_to(gop.startFrameId); in from_json()
48 j.at("frameId").get_to(frame.frameId); in from_json()
49 j.at("dts").get_to(frame.dts); in from_json()
50 j.at("layer").get_to(frame.layer); in from_json()
51 j.at("discardable").get_to(frame.discardable); in from_json()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/serializable/
H A Dserializable.cpp82 subNode.get_to(value); in GetValue()
92 subNode.get_to(value); in GetValue()
102 subNode.get_to(value); in GetValue()
112 subNode.get_to(value); in GetValue()
122 subNode.get_to(value); in GetValue()
130 subNode.get_to(value); in GetValue()
136 subNode.get_to(number); in GetValue()
/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/
H A Dserializable.cpp71 subNode.get_to(value); in GetValue()
81 subNode.get_to(value); in GetValue()
91 subNode.get_to(value); in GetValue()
101 subNode.get_to(value); in GetValue()
111 subNode.get_to(value); in GetValue()
121 subNode.get_to(value); in GetValue()
131 subNode.get_to(value); in GetValue()
/foundation/deviceprofile/device_info_manager/old/services/core/src/authority/
H A Dtrust_group_manager.cpp39 jsonObject.at(FIELD_GROUP_NAME).get_to(groupInfo.groupName); in from_json()
42 jsonObject.at(FIELD_GROUP_ID).get_to(groupInfo.groupId); in from_json()
45 jsonObject.at(FIELD_GROUP_OWNER).get_to(groupInfo.groupOwner); in from_json()
48 jsonObject.at(FIELD_GROUP_TYPE).get_to(groupInfo.groupType); in from_json()
52 jsonObject.at(FIELD_GROUP_VISIBILITY).get_to(groupInfo.groupVisibility); in from_json()
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/
H A Dinner_demuxer_parser_sample.cpp63 j.at("gopId").get_to(gop.gopId); in from_json()
64 j.at("gopSize").get_to(gop.gopSize); in from_json()
65 j.at("startFrameId").get_to(gop.startFrameId); in from_json()
70 j.at("frameId").get_to(frame.frameId); in from_json()
71 j.at("dts").get_to(frame.dts); in from_json()
72 j.at("layer").get_to(frame.layer); in from_json()
73 j.at("discardable").get_to(frame.discardable); in from_json()
/third_party/json/tests/src/
H A Dunit-udt_macro.cpp354 j.get_to(obj2);
365 j2.get_to(obj2);
376 j2.get_to(obj2);
387 j2.get_to(obj2);
398 j2.get_to(obj2);
409 j2.get_to(obj2);
H A Dunit-regression2.cpp98 j["a"].get_to(data.a); in from_json()
99 j["b"].get_to(data.b); in from_json()
215 j.at("value").get_to(fb.foo.value); in from_json()
229 j.at("str").get_to(str); in _from_json()
258 j.at("name").get_to(obj.name); in from_json()
836 j.get_to(foo);
887 j.get_to(obj);
H A Dunit-conversions.cpp108 SECTION("get an object (explicit, get_to)")
122 j.get_to(o);
129 j.get_to(o);
136 j.get_to(o);
143 j.get_to(o);
150 j.get_to(o);
296 SECTION("get an array (explicit, get_to)")
305 j.get_to(a);
312 j.get_to(a);
319 j.get_to(
[all...]
H A Dunit-udt.cpp288 SECTION("via explicit calls to get_to")
294 CHECK(person_json.get_to(person) == sfinae_addict);
297 person_json["name"].get_to(name).m_val = "new name";
H A Dunit-iterators2.cpp925 j.get_to(v);
/foundation/systemabilitymgr/samgr/interfaces/innerkits/common/include/
H A Dparse_util.h75 obj[key.c_str()].get_to(out); in GetBoolFromJson()
82 obj[key.c_str()].get_to(out); in GetStringFromJson()
89 obj[key.c_str()].get_to(out); in GetInt32FromJson()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddms_version_manager.cpp105 appInfoJson.at(PACKAGE_NAMES).get_to(packageNamesData); in ParseAppInfo()
110 appInfoJson.at(VERSIONS).get_to(versionsData); in ParseAppInfo()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A DtestConfigParser.h48 jsonObj.at(STRESS_TEST_BMS_KEY).get_to(stlevel.BMSLevel); in ParseFromFile4StressTest()
/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dmine_softbus_listener.cpp104 object["type"].get_to(optionInfo.type); in from_json()
105 object["value"].get_to(optionInfo.value); in from_json()
122 object["deviceAlias"].get_to(optionInfo.deviceAlias); in from_json()
123 object["startNumber"].get_to(optionInfo.startNumber); in from_json()
124 object["endNumber"].get_to(optionInfo.endNumber); in from_json()
/foundation/distributedhardware/device_manager/services/implementation/src/discovery/
H A Ddm_discovery_filter.cpp55 jsonObject[FILTER_OP_KEY].get_to(filterOp_); in ParseFilterJson()
/foundation/distributedhardware/device_manager/services/service/src/discovery/
H A Ddiscovery_filter.cpp54 jsonObject[FILTER_OP_KEY].get_to(filterOp_); in ParseFilterJson()
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/
H A Dvideo_param_test.cpp172 j.at(KEY_VIDEO_WIDTH).get_to(jsonVideoWidth); in HWTEST_F()
H A Ddscreen_maprelation_test.cpp116 j.at(KEY_DISPLAY_ID).get_to(jsonDisplayId); in HWTEST_F()
/third_party/json/docs/docset/
H A DdocSet.sql57 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::get_to', 'Method', 'api/basic_json/get_to/index.html');
/third_party/json/include/nlohmann/
H A Djson.hpp1779 /// @sa https://json.nlohmann.me/api/basic_json/get_to/
1785 ValueType & get_to(ValueType& v) const noexcept(noexcept( in noexcept()
1792 // specialization to allow calling get_to with a basic_json value
1798 ValueType & get_to(ValueType& v) const in get_to() function in basic_json
1809 Array get_to(T (&v)[N]) const // NOLINT(cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays)
/foundation/distributedhardware/device_manager/services/implementation/src/
H A Ddevice_manager_service_impl.cpp534 jsonObject["extra"]["deviceId"].get_to(deviceId); in NotifyEvent()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/
H A Ddistributed_want.cpp1215 wantJson.at("entities").get_to<std::vector<std::string>>(entities); in ReadFromJson()
/third_party/json/include/nlohmann/detail/
H A Dmacro_scope.hpp384 #define NLOHMANN_JSON_FROM(v1) nlohmann_json_j.at(#v1).get_to(nlohmann_json_t.v1);

Completed in 28 milliseconds

12