-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_JSONObjGetNextKey
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Iterate through all keys in an MTY_JSON
object.
bool MTY_JSONObjGetNextKey(
const MTY_JSON * json,
uint64_t * iter,
const char ** key
);
json
(const MTY_JSON *
)
An MTY_JSON
object.
iter
(uint64_t *
)
Iterator that keeps track of the position in the object. Set this to 0 before the fist call to this function.
key
(const char **
)
Reference to the next key in the object.
bool
Returns true
if there are more keys available, otherwise false
.