46 #ifndef GRPC_INTERNAL_CORE_JSON_JSON_WRITER_H
47 #define GRPC_INTERNAL_CORE_JSON_JSON_WRITER_H
51 #include "src/core/json/json_common.h"
55 void (*output_char)(
void* userdata, char);
57 void (*output_string)(
void* userdata,
const char* str);
59 void (*output_string_with_len)(
void* userdata,
const char* str,
size_t len);
81 void grpc_json_writer_container_begins(
grpc_json_writer* writer, grpc_json_type type);
83 void grpc_json_writer_container_ends(
grpc_json_writer* writer, grpc_json_type type);
85 void grpc_json_writer_object_key(
grpc_json_writer* writer,
const char*
string);
87 void grpc_json_writer_value_raw(
grpc_json_writer* writer,
const char*
string);
89 void grpc_json_writer_value_raw_with_len(
grpc_json_writer* writer,
const char*
string,
size_t len);
91 void grpc_json_writer_value_string(
grpc_json_writer* writer,
const char*
string);
Definition: json_writer.h:53
Definition: json_writer.h:63