#include <string>
#include <cstdio>
|
void | json2pb (google::protobuf::Message &msg, const char *buf, size_t size) |
|
void | json2pb (google::protobuf::Message &msg, FILE *fp) |
|
void | json2pb (google::protobuf::Message &msg, const std::string &data) |
|
std::string | pb2json (const google::protobuf::Message &msg) |
|
◆ json2pb() [1/3]
void json2pb |
( |
google::protobuf::Message & |
msg, |
|
|
const char * |
buf, |
|
|
size_t |
size |
|
) |
| |
◆ json2pb() [2/3]
void json2pb |
( |
google::protobuf::Message & |
msg, |
|
|
const std::string & |
data |
|
) |
| |
◆ json2pb() [3/3]
void json2pb |
( |
google::protobuf::Message & |
msg, |
|
|
FILE * |
fp |
|
) |
| |
◆ pb2json()
std::string pb2json |
( |
const google::protobuf::Message & |
msg | ) |
|