json_decoder_position_index()
QNX SDP8.0JSON Library ReferenceAPIDeveloper
Move to the specified node in the current array or object
Synopsis:
#include <sys/json.h>json_decoder_error_t json_decoder_position_index(json_decoder_t *decoder,
                                                 int index)Arguments:
- decoder
 - The JSON decoder instance.
 - index
 - The zero-based index of the node to be positioned at.
 
Library:
libjsonDescription:
This function positions the decoder to the specified node in the current array or the specified property in the current object, if it exists.
Returns:
- JSON_DECODER_OK
 - Success.
 
- JSON_DECODER_NOT_FOUND
 - No node exists at the specified index.
 
Page updated: 
