json_encoder_add_int_ull()

QNX SDP8.0JSON Library ReferenceAPIDeveloper

Add an unsigned long long integer value to the JSON encoder

Synopsis:

#include <sys/json.h>
json_encoder_error_t json_encoder_add_int_ull(json_encoder_t *encoder,
                                              const char *name,
                                              unsigned long long value)

Arguments:

encoder
The JSON encoder instance.
name
The name of the value if it's being added to an object, or NULL if the value is being added to an array or if it has already been named with json_encoder_add_property_name().
value
The unsigned long long value to encode.

Library:

libjson

Description:

This function adds an unsigned long long value with the given name to the current object or array in the JSON encoder.

Returns:

Page updated: