GRPC Core  9.0.0
Functions
json.cc File Reference
#include <grpc/support/port_platform.h>
#include <inttypes.h>
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/json/json.h"

Functions

grpc_jsongrpc_json_create (grpc_json_type type)
 
void grpc_json_destroy (grpc_json *json)
 
grpc_jsongrpc_json_link_child (grpc_json *parent, grpc_json *child, grpc_json *sibling)
 
grpc_jsongrpc_json_create_child (grpc_json *sibling, grpc_json *parent, const char *key, const char *value, grpc_json_type type, bool owns_value)
 
grpc_jsongrpc_json_add_number_string_child (grpc_json *parent, grpc_json *it, const char *name, int64_t num)
 

Function Documentation

◆ grpc_json_add_number_string_child()

grpc_json* grpc_json_add_number_string_child ( grpc_json parent,
grpc_json it,
const char *  name,
int64_t  num 
)

◆ grpc_json_create()

grpc_json* grpc_json_create ( grpc_json_type  type)

◆ grpc_json_create_child()

grpc_json* grpc_json_create_child ( grpc_json sibling,
grpc_json parent,
const char *  key,
const char *  value,
grpc_json_type  type,
bool  owns_value 
)

◆ grpc_json_destroy()

void grpc_json_destroy ( grpc_json json)

◆ grpc_json_link_child()

grpc_json* grpc_json_link_child ( grpc_json parent,
grpc_json child,
grpc_json sibling 
)