Functions for serializing to/from JSON.
More...
Functions for serializing to/from JSON.
◆ entity_to_json_desc_t
◆ iter_to_json_desc_t
◆ from_json() [1/3]
const char * from_json |
( |
const char * |
json | ) |
|
Deserialize entity to JSON.
Definition at line 7 of file entity.inl.
◆ from_json() [2/3]
template<typename T >
const char * from_json |
( |
flecs::entity_t |
tid, |
|
|
void * |
value, |
|
|
const char * |
json |
|
) |
| |
Deserialize value from JSON.
Definition at line 42 of file world.inl.
◆ from_json() [3/3]
template<typename T >
const char * from_json |
( |
T * |
value, |
|
|
const char * |
json |
|
) |
| |
Deserialize value from JSON.
Definition at line 52 of file world.inl.
◆ to_json() [1/5]
Serialize world to JSON.
Definition at line 32 of file world.inl.
◆ to_json() [2/5]
◆ to_json() [3/5]
Serialize value to JSON.
Definition at line 22 of file world.inl.
◆ to_json() [4/5]
flecs::string to_json |
( |
flecs::entity_t |
tid, |
|
|
const void * |
value |
|
) |
| |
Serialize untyped value to JSON.
Definition at line 11 of file world.inl.
◆ to_json() [5/5]
Serialize iterator result to JSON.
Definition at line 11 of file iterable.inl.