MCPcopy Create free account
hub / github.com/chen3feng/toft / PrintToStyledString

Method PrintToStyledString

encoding/proto_json_format.cpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158bool ProtoJsonFormat::PrintToStyledString(const Message& message, std::string* output) {
159 Json::Value root;
160 WriteToValue(message, &root);
161 output->assign(root.toStyledString());
162 return true;
163}
164
165bool ProtoJsonFormat::PrintToFastString(const Message& message, std::string* output) {
166 Json::Value root;

Callers

nothing calls this directly

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected