GRPC Core  0.11.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Typedefs | Functions
json_writer.h File Reference
#include <stdlib.h>
#include "src/core/json/json_common.h"

Go to the source code of this file.

Data Structures

struct  grpc_json_writer_vtable
 
struct  grpc_json_writer
 

Typedefs

typedef struct
grpc_json_writer_vtable 
grpc_json_writer_vtable
 
typedef struct grpc_json_writer grpc_json_writer
 

Functions

void grpc_json_writer_init (grpc_json_writer *writer, int indent, grpc_json_writer_vtable *vtable, void *userdata)
 
void grpc_json_writer_container_begins (grpc_json_writer *writer, grpc_json_type type)
 
void grpc_json_writer_container_ends (grpc_json_writer *writer, grpc_json_type type)
 
void grpc_json_writer_object_key (grpc_json_writer *writer, const char *string)
 
void grpc_json_writer_value_raw (grpc_json_writer *writer, const char *string)
 
void grpc_json_writer_value_raw_with_len (grpc_json_writer *writer, const char *string, size_t len)
 
void grpc_json_writer_value_string (grpc_json_writer *writer, const char *string)
 

Typedef Documentation

Function Documentation

void grpc_json_writer_container_begins ( grpc_json_writer writer,
grpc_json_type  type 
)
void grpc_json_writer_container_ends ( grpc_json_writer writer,
grpc_json_type  type 
)
void grpc_json_writer_init ( grpc_json_writer writer,
int  indent,
grpc_json_writer_vtable vtable,
void *  userdata 
)
void grpc_json_writer_object_key ( grpc_json_writer writer,
const char *  string 
)
void grpc_json_writer_value_raw ( grpc_json_writer writer,
const char *  string 
)
void grpc_json_writer_value_raw_with_len ( grpc_json_writer writer,
const char *  string,
size_t  len 
)
void grpc_json_writer_value_string ( grpc_json_writer writer,
const char *  string 
)