diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2016-04-14 16:28:47 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2016-04-14 16:28:47 -0700 |
commit | 89197b9358c127e41dd9f428578783ec09a94d82 (patch) | |
tree | a970d947ecfd7dba9df92b92982ae08d5f2dd9a2 /upb/bindings/googlepb/proto2.cc | |
parent | 534b5c98baf02b2101d25917d46a1605906a6c53 (diff) |
JSON parser: always accept both name variants, flag controls which we generate.
* JSON parser: always accept both name variants, flag controls which we generate.
My previous commit was based on wrong information about the
proto3 JSON spec. It turns out we need to accept both field
name formats all the time, and a runtime flag should control
which we generate.
* Documented the preserve_proto_fieldnames option.
* Fix bugs in PR.
Diffstat (limited to 'upb/bindings/googlepb/proto2.cc')
0 files changed, 0 insertions, 0 deletions