Hacker News new | ask | show | jobs
by ambrice 3613 days ago
> Added a new field option "json_name". By default proto field names are converted to "lowerCamelCase" in proto3 JSON format. This option can be used to override this behavior and specify a different JSON name for the field.
1 comments

Right, but nobody's going to set that for every single protobuf field.
You're right. The only people that would use it are people that a) care enough about optimization to switch out shorter tag names and b) don't care enough about optimization to switch to binary format. Probably not many..
Except everyone who is doing RPC in a browser. Not sure why that is, but binary formats aren't popular. We still care about performance.