-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_JSONArrayGetItem
chrisd1100 edited this page Aug 25, 2022
·
2 revisions
Get an item from an MTY_JSON
array.
const MTY_JSON *MTY_JSONArrayGetItem(
const MTY_JSON * json,
uint32_t index
);
json
(const MTY_JSON *
)
An MTY_JSON
array.
index
(uint32_t
)
Index to lookup.
const MTY_JSON *
If the index
exists, the item at that index is returned. This reference is valid only as long as the json
item is also valid.
If the index
does not exist, NULL
is returned.