Re: [protobuf] Json support in protobuf 3.0.0-beta-1

2015-10-06 Thread Gesly George
That's a fair point; though it would be good to have a clean way to create a Message adapter for JSON parsers without re-implementing the functionality in JsonFormat. On Tue, Oct 6, 2015 at 6:24 PM Feng Xiao wrote: > On Tue, Oct 6, 2015 at 2:31 PM, Gesly George

[protobuf] protobuf objects versioning

2015-10-06 Thread Kutvuk
For JSON i use prefix version for different versions of our API: /v1/map ... /v7/map What is the best way to make versions of API? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails

[protobuf] Newest version of Protobuf that will work with Java and MSVC# 2008?

2015-10-06 Thread Dylan Justice
I've been trying for a good part of the day to build Protobuf v3.0.0-beta-1 for C# in MSVS 2008 -- the most recent version of Visual Studio that can target my Smart Mobile Device hardware. I'm starting to believe that this task is impossible. The Cmake files don't seem to work, and the .SLN

Re: [protobuf] Json support in protobuf 3.0.0-beta-1

2015-10-06 Thread Gesly George
I have been looking into ways in which the JsonFormat class can be used to create a TypeAdapter that can be registered with Gson. Writing out a Message object to JSON is not an issue but parsing a JSON into Message object is a challenge as Gson TypeAdapter's read method gives you a JsonReader

Re: [protobuf] Json support in protobuf 3.0.0-beta-1

2015-10-06 Thread 'Feng Xiao' via Protocol Buffers
On Tue, Oct 6, 2015 at 2:31 PM, Gesly George wrote: > > I have been looking into ways in which the JsonFormat class can be used to > create a TypeAdapter that can be registered with Gson. Writing > out a Message object to JSON is not an issue but parsing a JSON into >

Re: [protobuf] Newest version of Protobuf that will work with Java and MSVC# 2008?

2015-10-06 Thread 'Feng Xiao' via Protocol Buffers
On Sat, Oct 3, 2015 at 3:48 PM, Dylan Justice wrote: > I've been trying for a good part of the day to build Protobuf > v3.0.0-beta-1 for C# in MSVS 2008 -- the most recent version of Visual > Studio that can target my Smart Mobile Device hardware. I'm starting to >