protobuf-go/encoding
Joe Tsai cd4a31e202 encoding/prototext: add MarshalOptions.EmitUnknown
This changes text marshaling to avoid unknown fields by default
and instead adds an option so that unknown fields be emitted.
This ensures that the default marshal/unknown can round-trip.

Change-Id: I85c84ba6ab7916d538ec6bfd4e9d399a8fcba14e
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/195778
Reviewed-by: Herbie Ong <herbie@google.com>
2019-09-17 02:56:29 +00:00
..
protojson encoding/prototext: document unstable marshal output 2019-09-07 00:56:21 +00:00
prototext encoding/prototext: add MarshalOptions.EmitUnknown 2019-09-17 02:56:29 +00:00
testprotos all: rely on message_set_extension name mangling in ExtensionDescV1 2019-08-21 02:47:33 +00:00
bench_test.go all: remove use of deprecated NewMessage 2019-09-04 17:55:31 +00:00