load_persistent_json()
#
Load a persistent JSON object from a file. Works with json_t *
.
Prototype
PUBLIC json_t *load_persistent_json(
const char *path,
int verbose
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The path to the persistent JSON file. |
|
|
The verbosity level for logging messages. |
Return Value
Returns a json_t *
object containing the persistent data, or NULL
on failure.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples