-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_JSONObjGetItem
chrisd1100 edited this page Aug 25, 2022
·
2 revisions
Get an item from an MTY_JSON
object.
const MTY_JSON *MTY_JSONObjGetItem(
const MTY_JSON * json,
const char * key
);
json
(const MTY_JSON *
)
An MTY_JSON
object.
key
(const char *
)
Key to lookup.
const MTY_JSON *
If the key
exists, the associated item is returned. This reference is valid only as long as the json
item is also valid.
If the key
does not exist, NULL
is returned.