Flecs: include/flecs/addons/cpp/mixins/json/iterable.inl Source File
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
iterable.inl
Go to the documentation of this file.
1
5
11 flecs::string to_json(flecs::iter_to_json_desc_t *desc = nullptr) {
12 char *json = ecs_iter_to_json(&it_, desc);
13 return flecs::string(json);
14}
ecs_iter_to_json
FLECS_API char * ecs_iter_to_json(ecs_iter_t *iter, const ecs_iter_to_json_desc_t *desc)
Serialize iterator into JSON string.
flecs::iter::to_json
flecs::string to_json(flecs::iter_to_json_desc_t *desc=nullptr)
Serialize iterator result to JSON.
Definition iterable.inl:11
flecs::string
Definition string.hpp:13