json_decoder_pop()
QNX SDP8.0JSON Library ReferenceAPIDeveloper
Ascend out of an object or array
Synopsis:
#include <sys/json.h>
json_decoder_error_t json_decoder_pop(json_decoder_t *decoder)
Arguments:
- decoder
- The JSON decoder instance.
Library:
libjsonDescription:
This function positions the decoder to the parent of the current object or array. Following this call, the current node will be the next node following the object or array being popped.
Returns:
- JSON_DECODER_OK
- Success.
- JSON_DECODER_POP_AT_ROOT
- The decoder is already positioned at the root node.
Page updated: