ecs_array_to_json_buf

Function ecs_array_to_json_buf 

Source
pub unsafe extern "C" fn ecs_array_to_json_buf(
    world: *const ecs_world_t,
    type_: ecs_entity_t,
    data: *const c_void,
    count: i32,
    buf_out: *mut ecs_strbuf_t,
) -> c_int
Expand description

Serialize array into JSON string buffer. Same as ecs_array_to_json_buf, but serializes to an ecs_strbuf_t instance.

@param world The world. @param type The type of the value to serialize. @param data The value to serialize. @param count The number of elements to serialize. @param buf_out The strbuf to append the string to. @return Zero if success, non-zero if failed.