encode_string
encode_string(j->buf, key);
encode_string(buf, k5_json_string_utf8(val));
static int encode_string(unsigned char *out, size_t out_max_len, size_t *out_len,
if (!encode_string(kctx->custom, sizeof(kctx->custom), &kctx->custom_len,
if (!encode_string(tmp, sizeof(tmp), &tmp_len, in, in_len))