mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-18 13:11:16 +00:00
4f0be71f91
This feature seems to be used quite a bit, and the conformance tests treat this as required, perhaps as a "required option" since the developer guide states: "Proto3 JSON parser should reject unknown fields by default but may provide an option to ignore unknown fields in parsing." Also, all invalid UTF-8 errors in skipped values are also returned as it is similar to a parse error, except it is a non-fatal one. Change-Id: Ia26e9a355daecdbf99af23f3061353fffa32d47d Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/174017 Reviewed-by: Damien Neil <dneil@google.com>