json_record_to_schema()#
Convert a JSON object record to its corresponding schema format. Works with json_t *.
Prototype
PUBLIC json_t *json_record_to_schema(
json_t *record
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
The JSON record to convert. |
Return Value
Returns a json_t * object representing the schema of the record, or NULL on failure.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples