Thank you, I am working on it. Zach.
On Tuesday, April 5, 2016 at 11:41:48 AM UTC-7, Feng Xiao wrote:
>
> See examples here:
>
> https://github.com/google/protobuf/blob/master/src/google/protobuf/util/json_util_test.cc#L78
>
> On Mon, Apr 4, 2016 at 8:45 PM, Zachary Deretsky
See examples here:
https://github.com/google/protobuf/blob/master/src/google/protobuf/util/json_util_test.cc#L78
On Mon, Apr 4, 2016 at 8:45 PM, Zachary Deretsky
wrote:
> Are there examples of (de)serializing to JSON in C++?
> What is TypeResolver and how to create it?
>
Ron,
could you post and example and some explanation on how to (de)serialize
proto3 to JSON using
LIBPROTOBUF_EXPORT util::Status BinaryToJsonString(
TypeResolver* resolver,
const string& type_url,
const string& binary_input,
string* json_output,
const JsonOptions& options);