protobuf-go/encoding/protojson
Damien Neil c1507ac678 encoding/protojson, encoding/prototext: remove most explicit registries
Change tests which use private types registries to use the global one.
Except in cases where we want to explicitly test that the private
registry is used, it's simpler to use the global registry.

Change-Id: I998fb463b6beef91c7f5ce2ca2083251ae24d1db
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/199897
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Herbie Ong <herbie@google.com>
2019-10-09 07:10:37 +00:00
..
bench_test.go types: consistently name generated protos 2019-05-16 21:55:40 +00:00
decode_test.go encoding/protojson, encoding/prototext: remove most explicit registries 2019-10-09 07:10:37 +00:00
decode.go proto, internal/impl: implement support for weak fields 2019-09-19 22:41:12 +00:00
doc.go protogen, encoding/jsonpb, encoding/textpb: rename packages 2019-05-14 20:33:22 +00:00
encode_test.go encoding/protojson, encoding/prototext: remove most explicit registries 2019-10-09 07:10:37 +00:00
encode.go encoding: optimize for oneofs 2019-09-19 18:20:38 +00:00
well_known_types.go all: use typed variant of protoreflect.ValueOf 2019-09-17 21:33:16 +00:00