json_encoder_destroy()

Destroy a JSON encoder instance

Synopsis:

#include <sys/json.h>
void json_encoder_destroy(json_encoder_t *encoder);

Arguments:

encoder
The JSON encoder instance to destroy. It is safe to call json_encoder_destroy() with a NULL pointer.

Library:

libjson