> On Mar 23, 2017, at 7:58 PM, James Peach <jor...@gmail.com> wrote: > >> >> On Mar 23, 2017, at 1:54 AM, Olivier Sallou <olivier.sal...@irisa.fr> wrote: >> >> Hi, >> >> when transforming a protobug message to json with MessageToJson, the >> json is not compatible with the json format expected by Mesos master. > > This is because you generated the protobuf bindings with proto3 compiler. > AFAICT they made an incompatible change to the JSON wire format. This bites > you when using the jsonpb Go package, for example. I ended up post-processing > the generated Go code to correct the field names.
Sorry I forgot to mention that the other workaround is to generate the protobuf bindings with the proto2 compiler. J