protobuf-go/internal/encoding/json
Joe Tsai 879b18d902 internal/encoding/json: initial commit of JSON parser/serializer
Package json provides a parser and serializer for the JSON format.
This focuses on the grammar of the format and is agnostic towards specific
semantics of protobuf types.

High-level API:
	func Marshal(v Value, indent string) ([]byte, error)
	func Unmarshal(b []byte) (Value, error)
	type Type uint8
	    const Null Type ...
	type Value struct{ ... }
	    func ValueOf(v interface{}) Value
		func (v Value) Type() Type
		func (v Value) Bool() bool
		func (v Value) Number() float64
		func (v Value) String() string
		func (v Value) Array() []Value
		func (v Value) Object() [][2]Value
		func (v Value) Raw() []byte

Change-Id: I26422f6b3881ef1a11b8aa95160645b1384b27b8
Reviewed-on: https://go-review.googlesource.com/127824
Reviewed-by: Herbie Ong <herbie@google.com>
2018-08-07 22:40:28 +00:00
..
decode.go internal/encoding/json: initial commit of JSON parser/serializer 2018-08-07 22:40:28 +00:00
encode.go internal/encoding/json: initial commit of JSON parser/serializer 2018-08-07 22:40:28 +00:00
json_test.go internal/encoding/json: initial commit of JSON parser/serializer 2018-08-07 22:40:28 +00:00
number.go internal/encoding/json: initial commit of JSON parser/serializer 2018-08-07 22:40:28 +00:00
string.go internal/encoding/json: initial commit of JSON parser/serializer 2018-08-07 22:40:28 +00:00
value.go internal/encoding/json: initial commit of JSON parser/serializer 2018-08-07 22:40:28 +00:00