Searched refs:jsonIn (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | json_util.h | 72 if (jsonIn.is_number()) { in FromJson() 73 output = jsonIn.as_number<T>(); in FromJson() 82 if (jsonIn.is_string()) { in FromJson() 91 if (jsonIn.is_boolean()) { in FromJson() 92 output = jsonIn.boolean_; in FromJson() 101 if (jsonIn.is_string() && jsonIn.string_.size() == UID_LENGTH) { in FromJson() 111 if (jsonIn.is_array() && jsonIn.array_.size() == size) { in FromJsonArray() 125 return FromJsonArray(jsonIn, output.data, 2); in FromJson() 130 return FromJsonArray(jsonIn, output.data, 3); in FromJson() 135 return FromJsonArray(jsonIn, output.data, 4); in FromJson() [all …]
|
H A D | ecs_serializer.cpp | 222 return FromJson(jsonIn, value); in PropertyFromJson() 230 if (!jsonIn.is_object()) { in RenderHandleReferenceFromJson() 284 if (jsonIn.is_unsigned_int()) { in EntityFromJson() 291 } else if (jsonIn.is_string()) { in EntityFromJson() 300 } else if (jsonIn.is_object()) { in EntityFromJson() 302 if (jsonIn.empty()) { in EntityFromJson() 1073 if (jsonIn.is_unsigned_int()) { in ReadProperty() 1092 if (jsonIn.is_string()) { in ReadProperty() 1115 if (jsonIn.is_array()) { in ReadProperty() 1145 if (jsonIn.is_array()) { in ReadProperty() [all …]
|
H A D | ecs_serializer.h | 51 …bool GatherExternalCollections(const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri, in SCENE_BEGIN_NAMESPACE() 55 …IEntityCollection& ec, const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri) const … in SCENE_BEGIN_NAMESPACE() 56 …bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, bool setId) const o… in SCENE_BEGIN_NAMESPACE() 57 …bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity enti… in SCENE_BEGIN_NAMESPACE() 59 …bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, const CORE_NS::Proper… in SCENE_BEGIN_NAMESPACE() 78 bool FromJson(const IEntityCollection& ec, const CORE_NS::json::value& jsonIn, in SCENE_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_ecs_serializer.h | 62 virtual bool FromJson(const IEntityCollection& ec, const CORE_NS::json::value& jsonIn, in SCENE_BEGIN_NAMESPACE() 83 …virtual bool GatherExternalCollections(const CORE_NS::json::value& jsonIn, BASE_NS::string_view co… in SCENE_BEGIN_NAMESPACE() 87 …IEntityCollection& ec, const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri) const … in SCENE_BEGIN_NAMESPACE() 88 …virtual bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, bool setId)… in SCENE_BEGIN_NAMESPACE() 89 …virtual bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Ent… in SCENE_BEGIN_NAMESPACE() 91 virtual bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, in SCENE_BEGIN_NAMESPACE()
|