Skip to content
Flecs v4.1
decl.hpp
Go to the documentation of this file.
1/**
2 * @file addons/cpp/mixins/json/decl.hpp
3 * @brief JSON addon declarations.
4 */
5
6#pragma once
7
8namespace flecs {
9
10/**
11 * @defgroup cpp_addons_json Json
12 * @ingroup cpp_addons
13 * Functions for serializing to/from JSON.
14 *
15 * @{
16 */
17
18using from_json_desc_t = ecs_from_json_desc_t;
19using entity_to_json_desc_t = ecs_entity_to_json_desc_t;
20using iter_to_json_desc_t = ecs_iter_to_json_desc_t;
21
22/** @} */
23
24}
struct ecs_entity_to_json_desc_t ecs_entity_to_json_desc_t
Used with ecs_entity_to_json().
struct ecs_from_json_desc_t ecs_from_json_desc_t
Used with ecs_ptr_from_json(), ecs_entity_from_json().
struct ecs_iter_to_json_desc_t ecs_iter_to_json_desc_t
Used with ecs_iter_to_json().