protobuf-go/internal/encoding/json
Herbie Ong c96a79da29 encoding/jsonpb: add support for basic unmarshaling
Unmarshaling of scalar, messages, repeated, and maps.

Need to further improve on error messages for consistency, some error
messages contain the position info while some currently do not.  There
are cases where position info is wrong as well when a value is decoded
in another pass, e.g. numbers in string value, or map keys.

Change-Id: I6f9e903c499b5e87fb258dbdada7434389fc7522
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/166338
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-03-15 18:53:18 +00:00
..
decode_test.go encoding/jsonpb: add support for basic unmarshaling 2019-03-15 18:53:18 +00:00
decode.go encoding/jsonpb: add support for basic unmarshaling 2019-03-15 18:53:18 +00:00
encode_test.go internal/encoding/json: rewrite to a token-based encoder and decoder 2019-03-11 21:53:21 +00:00
encode.go internal/encoding/json: rewrite to a token-based encoder and decoder 2019-03-11 21:53:21 +00:00
number.go internal/encoding/json: rewrite to a token-based encoder and decoder 2019-03-11 21:53:21 +00:00
string.go internal/encoding/json: rewrite to a token-based encoder and decoder 2019-03-11 21:53:21 +00:00
types.go encoding/jsonpb: add support for basic unmarshaling 2019-03-15 18:53:18 +00:00