pub unsafe extern "C" fn ecs_entity_from_json(
world: *mut ecs_world_t,
entity: ecs_entity_t,
json: *const c_char,
desc: *const ecs_from_json_desc_t,
) -> *const c_charExpand description
Parse JSON object with multiple component values into entity. The format is the same as the one outputted by ecs_entity_to_json, but at the moment only supports the “ids” and “values” member.
@param world The world. @param entity The entity to serialize to. @param json The JSON expression to parse (see entity in JSON format manual). @param desc Configuration parameters for deserializer. @return Pointer to the character after the last one read, or NULL if failed.