Can I serialize/deserialize JSON from protocol buffers with C++?

I'm developing one. I'm using the protobuf's reflection mechanism to parse any generated protobuf. Here corbasim.googlecode.com/svn/trunk/protob... you can find an initial implementation of this idea.It currently just parse string fields, but I want to support any type as soon as possible.

I'm developing one. I'm using the protobuf's reflection mechanism to parse any generated protobuf. Here corbasim.googlecode.com/svn/trunk/protob... you can find an initial implementation of this idea.It currently just parse string fields, but I want to support any type as soon as possible.

For a message Foo: message Foo { optional string text = 1; } it can parse instances of Foo by this way: Foo foo; const std::string json_foo = "{\"text\": \" protobuf2json::json::parse(foo, json_foo) By the same way, I want to write a JSON serializer from protobuf generated types. There is a similar question here: C++ Protobuf to/from JSON conversion.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions