Struct ecs_iter_to_json_desc_t

Synopsis

#include <include/flecs/addons/json.h>

typedef struct ecs_iter_to_json_desc_t

Description

Used with ecs_iter_to_json.

Source

Lines 198-213 in include/flecs/addons/json.h.

typedef struct ecs_iter_to_json_desc_t {
    bool serialize_term_ids;      /* Include term (query) component ids */
    bool serialize_ids;           /* Include actual (matched) component ids */
    bool serialize_sources;       /* Include sources */
    bool serialize_variables;     /* Include variables */
    bool serialize_is_set;        /* Include is_set (for optional terms) */
    bool serialize_values;        /* Include component values */
    bool serialize_entities;      /* Include entities (for This terms) */
    bool serialize_entity_labels; /* Include doc name for entities */
    bool serialize_entity_ids;    /* Include numerical ids for entities */
    bool serialize_variable_labels; /* Include doc name for variables */
    bool serialize_variable_ids;  /* Include numerical ids for variables */
    bool serialize_colors;        /* Include doc color for entities */
    bool measure_eval_duration;   /* Include evaluation duration */
    bool serialize_type_info;     /* Include type information */
} ecs_iter_to_json_desc_t;