yyjson_doc_get_val_count

Function yyjson_doc_get_val_count 

Source
pub unsafe extern "C" fn yyjson_doc_get_val_count(
    doc: *mut yyjson_doc,
) -> usize
Expand description

Returns total value count in this JSON document. Returns 0 if doc is NULL. For example: the value count of [1,2,3] is 4.