MCPcopy Create free account
hub / github.com/Illation/ETEngine / FromJsonRecursive

Function FromJsonRecursive

Engine/source/EtCore/Reflection/serialization.cpp:948–953  ·  view source on GitHub ↗

--------------------------------- FromJsonRecursive Recursively deserialize JSON values into an object or pointer(the instance)

Source from the content-addressed store, hash-verified

946// Recursively deserialize JSON values into an object or pointer(the instance)
947//
948void FromJsonRecursive(rttr::instance const inst, JSON::Value const* const jVal) // assumes jVal is a JSON::Object
949{
950 rttr::type instType = inst.get_type().get_raw_type().is_wrapper() ? inst.get_wrapped_instance().get_derived_type() : inst.get_derived_type();
951
952 ObjectFromJsonRecursive(jVal, inst, instType);
953}
954
955
956} // namespace serialization

Callers

nothing calls this directly

Calls 1

ObjectFromJsonRecursiveFunction · 0.85

Tested by

no test coverage detected