Home
last modified time | relevance | path

Searched refs:entityJson (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Ddata_detector_adapter.cpp168 bool DataDetectorAdapter::ParseOriText(const std::unique_ptr<JsonValue>& entityJson, std::string& text) in ParseOriText() argument
173 if (runtimeContext->GetBundleName() != entityJson->GetString("bundleName")) { in ParseOriText()
176 runtimeContext->GetBundleName().c_str(), entityJson->GetString("bundleName").c_str()); in ParseOriText()
179 auto aiSpanArray = entityJson->GetValue("entity"); in ParseOriText()
198 text = entityJson->GetString("content"); in ParseOriText()
250 auto entityJson = JsonUtil::ParseJsonString(result.entity); in ParseAIResult() local
251 CHECK_NULL_VOID(entityJson); in ParseAIResult()
253 auto jsonValue = entityJson->GetValue(type.second); in ParseAIResult()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_serializer.cpp338 const auto* entityJson = jsonIn.find("entity"); in EntityFromJson() local
339 if (entityJson) { in EntityFromJson()
340 return EntityFromJson(*collection, *entityJson, entityOut); in EntityFromJson()
381 json::standalone_value entityJson; in EntityToJson() local
382 if (EntityToJson(*collection, entityIn, entityJson)) { in EntityToJson()
385 jsonOut[string_view { "entity" }] = move(entityJson); in EntityToJson()
604 json::standalone_value entityJson = json::standalone_value::object(); in WriteEntityCollection() local
610 entityJson["id"] = string(id); in WriteEntityCollection()
613 entitiesJson.array_.emplace_back(move(entityJson)); in WriteEntityCollection()
919 for (const auto& entityJson in ReadEntityCollection()
954 const auto* entityJson = jsonIn.find("entity"); ReadComponents() local
[all...]
/foundation/arkui/ace_engine/adapter/preview/osal/advance/
H A Ddata_detector_adapter.cpp20 bool DataDetectorAdapter::ParseOriText(const std::unique_ptr<JsonValue>& entityJson, std::string& text) in ParseOriText() argument
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/
H A Decs_serializer.cpp283 const auto* entityJson = jsonIn.find("entity"); in EntityFromJson() local
284 if (entityJson) { in EntityFromJson()
285 return EntityFromJson(*collection, *entityJson, entityOut); in EntityFromJson()
326 json::standalone_value entityJson; in EntityToJson() local
327 if (EntityToJson(*collection, entityIn, entityJson)) { in EntityToJson()
330 jsonOut[string_view { "entity" }] = move(entityJson); in EntityToJson()
542 json::standalone_value entityJson = json::standalone_value::object(); in WriteEntityCollection() local
548 entityJson["id"] = string(id); in WriteEntityCollection()
551 entitiesJson.array_.emplace_back(move(entityJson)); in WriteEntityCollection()
831 const auto* entityJson in ReadComponents() local
[all...]
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_data_detector_adapter.cpp23 bool DataDetectorAdapter::ParseOriText(const std::unique_ptr<JsonValue>& entityJson, std::string& text) in ParseOriText() argument
/foundation/arkui/ace_engine/frameworks/core/common/ai/
H A Ddata_detector_adapter.h69 bool ParseOriText(const std::unique_ptr<JsonValue>& entityJson, std::string& text);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp2984 auto entityJson = JsonUtil::ParseJsonString(currentText); in ParseOriText() local
2985 bool entityIsJson = !entityJson->IsNull(); in ParseOriText()
2987 if (entityIsJson && !entityJson->GetValue("bundleName")->IsNull() && in ParseOriText()
2988 dataDetectorAdapter_->ParseOriText(entityJson, textForDisplay_)) { in ParseOriText()

Completed in 13 milliseconds