Merge changes from internal repo. (#68)

Parsing protobuf from JSON now ignores unknown enum values instead of
throwing an exception.

The behavior is still different from parsing a message from a serialized
byte string, because we do not store the (tag, unknown enum value) pair
in the UnknownFieldSet. JSON parsing currently discards unknown field
tags, so it makes sense to also discard the unknown enum values.
4 files changed
tree: 96dcd523b93f23a2e958038ad269d43853579884
  1. lib/
  2. test/
  3. .analysis_options
  4. .gitignore
  5. .status
  6. .test_config
  7. AUTHORS
  8. CHANGELOG.md
  9. codereview.settings
  10. CONTRIBUTING.md
  11. LICENSE
  12. PATENTS
  13. pubspec.yaml
  14. README.md
README.md

Provides runtime support for a Dart implementation of protobufs.

Typically one do not need to import this library–only libraries generated by the protoc plugin import this library directly.

If your library or application uses generated protobuf libraries, add this library as a dependency.

References