json_is_identical()#
Check if two JSON objects or arrays are identical. Works with json_t *.
Prototype
PUBLIC BOOL json_is_identical(
json_t *jn1,
json_t *jn2
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
The first JSON object or array to compare. |
|
|
The second JSON object or array to compare. |
Return Value
Returns TRUE if the JSON objects or arrays are identical, otherwise returns FALSE.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples