[protobuf] Re: Any way to stop rename field in codegen?

2018-03-08 Thread ke ren
Hi Jon, Thanks to confirm it. will JsonParser use pbr::OriginalName or the field name in generated class for json deseriliazation? If it uses the field name, probably it would work. Otherwise, probably have to consider data deser bridge or something. Ke On Thursday, 8 March 2018 13:24:20

[protobuf] Re: Any way to stop rename field in codegen?

2018-03-08 Thread Jon Skeet
On Thursday, 8 March 2018 11:41:28 UTC, ke ren wrote: > > I am trying to migrate our project to protobuf and find one annoying > feature in protobuf c# codegen. It will automatically rename the field name > defined in proto during codgen to fit camel convention. For > example, NURBSSurface will

[protobuf] Any way to stop rename field in codegen?

2018-03-08 Thread ke ren
Hi, I am trying to migrate our project to protobuf and find one annoying feature in protobuf c# codegen. It will automatically rename the field name defined in proto during codgen to fit camel convention. For example, NURBSSurface will be renamed to Nurbssurface, XRay to Xray etc. It causes