test_json_file()
#
Test if a JSON file meets specific conditions. Works with json_t *
.
Prototype
PUBLIC int test_json_file(
const char *path,
int verbose
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The path to the JSON file. |
|
|
The verbosity level for the test output. |
Return Value
Returns 0
on success, or a negative value on failure.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples