json_decoder_position_property()
QNX SDP8.0JSON Library ReferenceAPIDeveloper
Position the decoder at the specified property
Synopsis:
#include <sys/json.h>
json_decoder_error_t json_decoder_position_property(json_decoder_t *decoder,
const char *name)
Arguments:
- decoder
- The JSON decoder instance.
- name
- The name of the property to position the decoder at.
Library:
libjsonDescription:
This function searches the current object for a property with the given name and if it's found, positions the decoder at that property.
Returns:
- JSON_DECODER_OK
- Success.
- JSON_DECODER_NOT_FOUND
- The given property does not exist in the current object.
Page updated: