json_decoder_reset()
QNX SDP8.0JSON Library ReferenceAPIDeveloper
Reset a JSON decoder instance
Synopsis:
#include <sys/json.h>
void json_decoder_reset(json_decoder_t *decoder)
Arguments:
- decoder
- The JSON decoder instance.
Library:
libjsonDescription:
This function resets the given JSON decoder, which means it is positioned at the root node, reflecting the state it is in immediately after parsing the JSON data. This is a convenient way to jump to the top of decoder tree that represents the data.
Page updated: