Searched refs:contentObj (Results 1 – 2 of 2) sorted by relevance
124 nlohmann::json contentObj; in ToJson() local125 if (!NotificationJsonConverter::ConvertToJson(content_.get(), contentObj)) { in ToJson()129 jsonObject["content"] = contentObj; in ToJson()257 auto contentObj = jsonObject.at("content"); in ConvertJsonToContent() local258 if (contentObj.is_null()) { in ConvertJsonToContent()266 … pBasicContent = NotificationJsonConverter::ConvertFromJson<NotificationNormalContent>(contentObj); in ConvertJsonToContent()269 …ontent = NotificationJsonConverter::ConvertFromJson<NotificationConversationalContent>(contentObj); in ConvertJsonToContent()272 …BasicContent = NotificationJsonConverter::ConvertFromJson<NotificationLongTextContent>(contentObj); in ConvertJsonToContent()275 …asicContent = NotificationJsonConverter::ConvertFromJson<NotificationMultiLineContent>(contentObj); in ConvertJsonToContent()278 …pBasicContent = NotificationJsonConverter::ConvertFromJson<NotificationPictureContent>(contentObj); in ConvertJsonToContent()
1552 nlohmann::json contentObj; in ConvertObjectsToJson() local1554 if (!NotificationJsonConverter::ConvertToJson(notificationContent_.get(), contentObj)) { in ConvertObjectsToJson()1559 jsonObject["content"] = contentObj; in ConvertObjectsToJson()1783 auto contentObj = jsonObject.at("content"); in ConvertJsonToNotificationContent() local1784 if (!contentObj.is_null()) { in ConvertJsonToNotificationContent()1785 … auto pContent = NotificationJsonConverter::ConvertFromJson<NotificationContent>(contentObj); in ConvertJsonToNotificationContent()