Engine → Core → json_conversion.h
json::json_converter
| Type | Struct |
| Namespace | conjure::core::json |
| Include File Path | engine/include/conjure/core/reflect/json_conversion.h |
| Source File Path | engine/src/core/reflect/json_conversion.cpp |
| API ↗ | Reflection |
Syntax
Functions
Public
from_json
from_json[[nodiscard]] static result<math::transform> from_json(
const value &source);Reads {"position", "rotation", "scale"}; absent members keep the identity.