Go to the documentation of this file.
31 #ifndef GRPC_CORE_LIB_JSON_JSON_WRITER_H
32 #define GRPC_CORE_LIB_JSON_JSON_WRITER_H
79 const char*
string,
size_t len);
grpc_json_writer_vtable * vtable
Definition: json_writer.h:52
void * userdata
Definition: json_writer.h:51
void grpc_json_writer_value_string(grpc_json_writer *writer, const char *string)
Definition: json_writer.cc:239
int got_key
Definition: json_writer.h:56
grpc_json_type
Definition: json_common.h:23
void(* output_char)(void *userdata, char)
Definition: json_writer.h:42
void(* output_string_with_len)(void *userdata, const char *str, size_t len)
Definition: json_writer.h:46
void grpc_json_writer_value_raw_with_len(grpc_json_writer *writer, const char *string, size_t len)
Definition: json_writer.cc:231
int indent
Definition: json_writer.h:53
void(* output_string)(void *userdata, const char *str)
Definition: json_writer.h:44
void grpc_json_writer_value_raw(grpc_json_writer *writer, const char *string)
Definition: json_writer.cc:224
void grpc_json_writer_container_begins(grpc_json_writer *writer, grpc_json_type type)
Definition: json_writer.cc:195
int container_empty
Definition: json_writer.h:55
struct grpc_json_writer_vtable grpc_json_writer_vtable
struct grpc_json_writer grpc_json_writer
void grpc_json_writer_init(grpc_json_writer *writer, int indent, grpc_json_writer_vtable *vtable, void *userdata)
Definition: json_writer.cc:39
void grpc_json_writer_container_ends(grpc_json_writer *writer, grpc_json_type type)
Definition: json_writer.cc:205
int depth
Definition: json_writer.h:54
void grpc_json_writer_object_key(grpc_json_writer *writer, const char *string)
Definition: json_writer.cc:216
Definition: json_writer.h:50
Definition: json_writer.h:40