Re: [protobuf] "ParseFromString()" and "JsonStringToMessage()" have inconsistent behavior when parsing an unrecognized enum value.

2017-10-17 Thread 'Feng Xiao' via Protocol Buffers
On Tue, Oct 10, 2017 at 8:15 PM, Qian Zhang wrote: > Note that you can use the always_print_enums_as_ints option to work around >> this problem: > > https://github.com/google/protobuf/blob/master/src/ >> google/protobuf/util/json_util.h#L73 >> > > > With this option enum value will printed as int

[protobuf] Error in the Java Classes for Protocol Buffer 3.4.1

2017-10-17 Thread Nasim Hasan
Hello All, I am Nasim Hasan and I am new to the Protocol Buffer. I will have to use the Protocol Buffer for communicating with a 3D Simulator (Gazebo). I am using the Protocol Buffer 3.4.1 for Java. But, when I use (by importing) the predefined classes for Java in my project, I am ge

Re: [protobuf] "ParseFromString()" and "JsonStringToMessage()" have inconsistent behavior when parsing an unrecognized enum value.

2017-10-17 Thread Qian Zhang
Feng, any comments? :-) -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@