Skip to content

cf_json_array_from_bool

Category: json
GitHub: cute_json.h


Creates a new json array from an array of bools.

CF_JVal cf_json_array_from_bool(CF_JDoc doc, bool* vals, int count);

Remarks

The returned CF_JVal can be attached to the document by cf_json_array_add or cf_json_object_add.

CF_JVal
cf_json_array
cf_json_array_from_int
cf_json_array_from_i64
cf_json_array_from_u64
cf_json_array_from_float
cf_json_array_from_double
cf_json_object_add
cf_json_array_from_string
cf_json_array_add