json2pb
json2pb copied to clipboard
Request: Add "pretty-print" option for pb2json
std::string pb2json(const Message &msg, const int indentation /* = 0 */)
{
...
json_dump_callback(root, json_dump_std_string, &r, JSON_INDENT(indentation));
}