Home
last modified time | relevance | path

Searched refs:ConvertFromJson (Results 1 – 6 of 6) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_content.cpp266 … pBasicContent = NotificationJsonConverter::ConvertFromJson<NotificationNormalContent>(contentObj); in ConvertJsonToContent()
269 …pBasicContent = NotificationJsonConverter::ConvertFromJson<NotificationConversationalContent>(cont… in ConvertJsonToContent()
272 …pBasicContent = NotificationJsonConverter::ConvertFromJson<NotificationLongTextContent>(contentObj… in ConvertJsonToContent()
275 …pBasicContent = NotificationJsonConverter::ConvertFromJson<NotificationMultiLineContent>(contentOb… in ConvertJsonToContent()
278 …pBasicContent = NotificationJsonConverter::ConvertFromJson<NotificationPictureContent>(contentObj); in ConvertJsonToContent()
Dnotification_conversational_content.cpp151 auto pUser = NotificationJsonConverter::ConvertFromJson<MessageUser>(userObj); in FromJson()
163 … auto pMsg = NotificationJsonConverter::ConvertFromJson<NotificationConversationalMessage>(msgObj); in FromJson()
Dnotification_conversational_message.cpp116 auto pUser = NotificationJsonConverter::ConvertFromJson<MessageUser>(userObj); in FromJson()
Dnotification_request.cpp1785 … auto pContent = NotificationJsonConverter::ConvertFromJson<NotificationContent>(contentObj); in ConvertJsonToNotificationContent()
1811 … auto pBtn = NotificationJsonConverter::ConvertFromJson<NotificationActionButton>(btnObj); in ConvertJsonToNotificationActionButton()
1837 … auto pOpt = NotificationJsonConverter::ConvertFromJson<NotificationDistributedOptions>(optObj); in ConvertJsonToNotificationDistributedOptions()
1863 auto pFlags = NotificationJsonConverter::ConvertFromJson<NotificationFlags>(flagsObj); in ConvertJsonToNotificationFlags()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_json_convert.h86 static T *ConvertFromJson(const nlohmann::json &jsonObject) in ConvertFromJson() function
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp535 auto pRequest1 = NotificationJsonConverter::ConvertFromJson<NotificationRequest>(jsonObject); in CheckJsonConverter()