Home
last modified time | relevance | path

Searched defs:jsonString (Results 1 – 15 of 15) sorted by relevance

/base/customization/enterprise_device_management/services/edm/src/utils/
Djson_serializer.cpp21 bool JsonSerializer::Deserialize(const std::string &jsonString, Json::Value &dataObj) in Deserialize()
34 bool JsonSerializer::Serialize(const Json::Value &dataObj, std::string &jsonString) in Serialize()
44 std::string jsonString = Str16ToStr8(data.ReadString16()); in GetPolicy() local
50 std::string jsonString; in WritePolicy() local
Dstring_serializer.cpp21 bool StringSerializer::Deserialize(const std::string &jsonString, std::string &dataObj) in Deserialize()
27 bool StringSerializer::Serialize(const std::string &dataObj, std::string &jsonString) in Serialize()
Dlong_serializer.cpp21 bool LongSerializer::Deserialize(const std::string &jsonString, int64_t &dataObj) in Deserialize()
27 bool LongSerializer::Serialize(const int64_t &dataObj, std::string &jsonString) in Serialize()
Dbool_serializer.cpp20 bool BoolSerializer::Deserialize(const std::string &jsonString, bool &dataObj) in Deserialize()
41 bool BoolSerializer::Serialize(const bool &dataObj, std::string &jsonString) in Serialize()
Dmap_string_serializer.cpp21 bool MapStringSerializer::Deserialize(const std::string &jsonString, std::map<std::string, std::str… in Deserialize()
48 …ngSerializer::Serialize(const std::map<std::string, std::string> &dataObj, std::string &jsonString) in Serialize()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_json_convert.h62 … ConvertToJsonString(const NotificationJsonConvertionBase *convertionBase, std::string &jsonString) in ConvertToJsonString()
103 static T *ConvertFromJsonString(const std::string &jsonString) in ConvertFromJsonString()
/base/customization/enterprise_device_management/test/unittest/src/
Dpolicy_serializer_test.cpp84 string jsonString; variable
120 string jsonString; variable
178 string jsonString; variable
196 …std::string jsonString = R"([{"desc":"hello","id":"1","name":"leon"},{"desc":"world","id":"2","nam… variable
314 string jsonString; variable
409 string jsonString; variable
/base/customization/enterprise_device_management/services/edm/include/
Dipolicy_serializer.h110 bool ArraySerializer<DT, T_ARRAY>::Deserialize(const std::string &jsonString, T_ARRAY &dataObj) in Deserialize()
141 bool ArraySerializer<DT, T_ARRAY>::Serialize(const T_ARRAY &dataObj, std::string &jsonString) in Serialize()
/base/usb/usb_manager/services/native/src/
Dusb_service_subscriber.cpp52 auto jsonString = Json::writeString(builder, port); in PortChangedEvent() local
Dusb_host_manager.cpp106 auto jsonString = Json::writeString(builder, dev.ToJson()); in PublishCommonEvent() local
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_info.cpp290 std::string jsonString = parcel.ReadString(); in ReadFromParcel() local
299 std::string jsonString; in ToString() local
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/
Dnativetoken_kit_test.cpp55 char *jsonString = nullptr; in WriteContentToFile() local
/base/security/access_token/services/tokensyncmanager/src/remote/
Dsoft_bus_channel.cpp416 std::shared_ptr<SoftBusMessage> SoftBusMessage::FromJson(const std::string &jsonString) in FromJson()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp1958 std::string jsonString; variable
2019 std::string jsonString; variable
2234 std::string jsonString; variable
2279 std::string jsonString; variable
Dans_innerkits_module_publish_test.cpp509 std::string jsonString; in CheckJsonConverter() local