protobuf-go/encoding/protojson
Joe Tsai 387873dd53 all: implement support for proto3 optional semantics
In the upcoming 3.12.x release of protoc, the proto3 language will be
amended to support true presence for scalars. This CL adds support
to both the generator and runtime to support these semantics.

Newly added public API:
	protogen.Plugin.SupportedFeatures
	protoreflect.FieldDescriptor.HasPresence
	protoreflect.FieldDescriptor.HasOptionalKeyword
	protoreflect.OneofDescriptor.IsSynthetic

Change-Id: I7c86bf66d0ae56642109beb5f2132184593747ad
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/230698
Reviewed-by: Damien Neil <dneil@google.com>
2020-04-29 20:02:24 +00:00
..
bench_test.go types: consistently name generated protos 2019-05-16 21:55:40 +00:00
decode_test.go all: implement support for proto3 optional semantics 2020-04-29 20:02:24 +00:00
decode.go all: rename IsInitialized as CheckInitialized 2020-02-20 20:45:40 +00:00
doc.go
encode_test.go all: implement support for proto3 optional semantics 2020-04-29 20:02:24 +00:00
encode.go all: consistently treat nil message interface as an empty read-only message 2020-04-20 23:12:56 +00:00
well_known_types.go internal/detectknown: add helper package to identify well-known types 2020-03-24 23:06:32 +00:00