Use FieldDescriptorProto.json_name for representing field names. (#261)

This seems to be the right thing to do if we want to emit
proto3 JSON.
Currently we were using the dart mangled name, that is also camel-case
but has a number of dart-specific disambiguations applied making it unsuitable for
interop.

If we want to parse JSON we need also know the field_name (with
underscores). That is for a later PR...

12 files changed
tree: 22f1b733c61b1f81847328e917f079700bb92a7b
  1. api_benchmark/
  2. protobuf/
  3. protoc_plugin/
  4. query_benchmark/
  5. tool/
  6. .gitignore
  7. .travis.yml
  8. analysis_options.yaml
  9. mono_repo.yaml
  10. README.md
README.md

Protobuf support for dart

Build Status

This repository is home to packages related to support for the protobuf format for dart. It contains: