Get the type of the current or specified node
#include <sys/json.h>
json_node_type_t json_decoder_type(json_decoder_t *decoder, const char *name);
The type of the referenced node (see json_node_type_t) or JSON_TYPE_NONE if the specified node does not exist.