Determine if a node represents an integer value
#include <sys/json.h>
bool json_decoder_is_integer(json_decoder_t *decoder, const char *name);
This function returns true if the specified or current node is an integer, or false otherwise. This call, along with json_decoder_type() returning JSON_TYPE_NUMBER, can be used to determine if the number value for the node can be returned without error using json_decoder_get_int_ll() or json_decoder_get_double().