Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
iterable.inl
Go to the documentation of this file.
1
12 char *json = ecs_iter_to_json(m_it.real_world, &m_it, desc);
13 return flecs::string(json);
14}
FLECS_API char * ecs_iter_to_json(const ecs_world_t *world, ecs_iter_t *iter, const ecs_iter_to_json_desc_t *desc)
Serialize iterator into JSON string.
flecs::string to_json(flecs::iter_to_json_desc_t *desc=nullptr)
Serialize iterator result to JSON.
Definition iterable.inl:11
Used with ecs_iter_to_json().
Definition json.h:266