trq_get_metadata()

trq_get_metadata()#

Retrieves the metadata associated with a given JSON object. The returned JSON object is not owned by the caller.

Prototype

json_t *trq_get_metadata(
    json_t *kw
);

Parameters

Key

Type

Description

kw

json_t *

The JSON object containing metadata.


Return Value

A pointer to a JSON object containing the metadata. The returned JSON object is not owned by the caller and should not be modified or freed.

Notes

The returned JSON object is a reference and should not be altered or deallocated by the caller.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples