json_decoder_next()

QNX SDP8.0JSON Library ReferenceAPIDeveloper

Move to the next node in the current array or object

Synopsis:

#include <sys/json.h>
json_decoder_error_t json_decoder_next(json_decoder_t *decoder)

Arguments:

decoder
The JSON decoder instance.

Library:

libjson

Description:

This function positions the decoder at the next element in the current array or the next property in the current object, if one exists.

Returns:

JSON_DECODER_OK
Success.
JSON_DECODER_NOT_FOUND
The next node does not exist.
Page updated: