Function

judo_gettype

Type of a JSON value.

Since v1.0
enum judo_type judo_gettype(
const judo_value *value)

Parameters 🔗

value in

Value to query.

Return Value 🔗

The JSON type of value.

Discussion 🔗

The judo_gettype function returns the JSON type of value. If value is NULL, the implementation will return the constant JUDO_TYPE_INVALID.