Flecs
v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
entity.inl
Go to the documentation of this file.
1
11
const
char
*
from_json
(
const
char
*json) {
12
return
ecs_entity_from_json
(world_, id_, json,
nullptr
);
13
}
ecs_entity_from_json
FLECS_API const char * ecs_entity_from_json(ecs_world_t *world, ecs_entity_t entity, const char *json, const ecs_from_json_desc_t *desc)
Parse JSON object with multiple component values into an entity.
flecs::entity::from_json
const char * from_json(const char *json)
Deserialize an entity from JSON.
Definition
entity.inl:11