Set the state of the JSON decoder
#include <sys/json.h>
json_decoder_error_t json_decoder_set_state(json_decoder_t *decoder, json_decoder_state_t *state);
This function restores the given decoder to a state previously obtained with json_decoder_get_state().