Updated: April 19, 2023 |
End the current object in the JSON encoder
#include <sys/json.h>
json_encoder_error_t json_encoder_end_object(json_encoder_t *encoder);
This function ends the encoding of the current object in the given JSON encoder, returning the encoder's nesting level to the object's parent.