protobuf-go/encoding/protojson
Joe Tsai 5ae10aa9f0 encoding: unify MessageSet extension handling logic
This CL unifies common MessageSet logic in prototext and protojson
into the messageset package. While we are at it, also enable
MessageSet support only if the proto1_legacy build flag is enabled.

Change-Id: I1a7d475e8bb1dad61ecd286df45e4239e5bef072
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/185898
Reviewed-by: Damien Neil <dneil@google.com>
2019-07-15 21:07:58 +00:00
..
bench_test.go types: consistently name generated protos 2019-05-16 21:55:40 +00:00
decode_test.go encoding: unify MessageSet extension handling logic 2019-07-15 21:07:58 +00:00
decode.go encoding: unify MessageSet extension handling logic 2019-07-15 21:07:58 +00:00
doc.go protogen, encoding/jsonpb, encoding/textpb: rename packages 2019-05-14 20:33:22 +00:00
encode_test.go encoding: unify MessageSet extension handling logic 2019-07-15 21:07:58 +00:00
encode.go encoding: unify MessageSet extension handling logic 2019-07-15 21:07:58 +00:00
well_known_types.go reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00