Searched refs:entityJson (Results 1 - 7 of 7) sorted by relevance
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | data_detector_adapter.cpp | 168 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 D | ecs_serializer.cpp | 338 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 D | data_detector_adapter.cpp | 20 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 D | ecs_serializer.cpp | 283 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 D | mock_data_detector_adapter.cpp | 23 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 D | data_detector_adapter.h | 69 bool ParseOriText(const std::unique_ptr<JsonValue>& entityJson, std::string& text);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_pattern.cpp | 2984 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