Updated: October 28, 2024 |
End the current array in the JSON encoder
#include <sys/json.h>
json_encoder_error_t json_encoder_end_array(json_encoder_t *encoder);
This function ends the encoding of the current array in the given JSON encoder, returning the encoder's nesting level to the array's parent.