cmp_two_simple_json()#
Compare two simple JSON values for equality. Works with json_t *.
Prototype
PUBLIC BOOL cmp_two_simple_json(
json_t *jn1,
json_t *jn2
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
The first JSON value to compare. |
|
|
The second JSON value to compare. |
Return Value
Returns TRUE if the JSON values are equal, otherwise returns FALSE.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples