Used with ecs_ptr_from_json(), ecs_entity_from_json().
More...
#include <json.h>
|
| const char * | name |
| | Name of the expression (used for logging).
|
| const char * | expr |
| | Full expression (used for logging).
|
| ecs_entity_t(*) | lookup_action (ecs_world_t *, const char *value, void *ctx) |
| | Callback that allows for specifying a custom lookup function.
|
| void * | lookup_ctx |
| | Context for lookup_action.
|
| bool | strict |
| | Require components to be registered with reflection data.
|
◆ expr
| const char* ecs_from_json_desc_t::expr |
Full expression (used for logging).
Definition at line 43 of file json.h.
◆ lookup_action
Callback that allows for specifying a custom lookup function.
The default behavior uses ecs_lookup().
Definition at line 47 of file json.h.
◆ lookup_ctx
| void* ecs_from_json_desc_t::lookup_ctx |
Context for lookup_action.
Definition at line 51 of file json.h.
◆ name
| const char* ecs_from_json_desc_t::name |
Name of the expression (used for logging).
Definition at line 42 of file json.h.
◆ strict
| bool ecs_from_json_desc_t::strict |
Require components to be registered with reflection data.
When not in strict mode, values for components without reflection are ignored.
Definition at line 55 of file json.h.
The documentation for this struct was generated from the following file: