simdjson_key_count
Returns the value at a JSON pointer.
&reftitle.description;
intsimdjson_key_count
stringjson
stringkey
intdepth512
boolthrow_if_uncountable&false;
Count the number of elements of the object/array found at the requested JSON pointer.
&reftitle.parameters;
json
The json string being queried.
key
The JSON pointer string.
depth
Maximum nesting depth of the structure being validated.
The value must be greater than 0,
and less than or equal to 2147483647.
Callers should use reasonably small values,
because larger depths require more buffer space and will
increase the recursion depth, unlike the current json_decode implementation.
throw_if_uncountable
When true, a SimdJsonException will be thrown
instead of returning 0 when the value the JSON pointer points to
is neither an object nor an array.
&reftitle.returnvalues;
Returns an &integer; with the number of elements of the value at the given JSON pointer.