Struct ecs_entity_to_json_desc_t

Synopsis

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

typedef struct ecs_entity_to_json_desc_t

Description

Used with ecs_iter_to_json.

Mentioned in

Source

Lines 148-161 in include/flecs/addons/json.h.

typedef struct ecs_entity_to_json_desc_t {
    bool serialize_path;       /* Serialize full pathname */
    bool serialize_meta_ids;   /* Serialize 'meta' ids (Name, ChildOf, etc) */
    bool serialize_label;      /* Serialize doc name */
    bool serialize_brief;      /* Serialize brief doc description */
    bool serialize_link;       /* Serialize doc link (URL) */
    bool serialize_color;      /* Serialize doc color */
    bool serialize_id_labels;  /* Serialize labels of (component) ids */
    bool serialize_base;       /* Serialize base components */
    bool serialize_private;    /* Serialize private components */
    bool serialize_hidden;     /* Serialize ids hidden by override */
    bool serialize_values;     /* Serialize component values */
    bool serialize_type_info;  /* Serialize type info (requires serialize_values) */
} ecs_entity_to_json_desc_t;