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. .analysis_options
  2. .gitignore
  3. .status
  4. .test_config
  5. AUTHORS
  6. CHANGELOG.md
  7. CONTRIBUTING.md
  8. LICENSE
  9. PATENTS
  10. README.md
  11. codereview.settings
  12. lib/
  13. pubspec.yaml
  14. test/
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