json_decoder_length()
QNX SDP8.0JSON Library ReferenceAPIDeveloper
Get the number of elements in the current node
Synopsis:
#include <sys/json.h>
int json_decoder_length(json_decoder_t *decoder)
Arguments:
- decoder
- The JSON decoder instance.
Library:
libjsonDescription:
This function returns the number of elements in the current array, or the number of properties in the current object.
Returns:
The element or property count.
Page updated: