gojay

high performance JSON encoder/decoder with stream API for Golang
git clone git://git.lair.cx/gojay
Log | Files | Refs | README | LICENSE

commit 737b8672e52a7ecb717de160eb2739debe56783d
parent d23835d4248dfd1830d30d13f7f7b50350c02aad
Author: francoispqt <francois@parquet.ninja>
Date:   Sun, 20 May 2018 02:14:59 +0800

correct some misspells in comments

Diffstat:
Mdecode_object.go | 2+-
Mencode_object.go | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/decode_object.go b/decode_object.go @@ -237,7 +237,7 @@ func (dec *Decoder) skipData() error { return dec.raiseInvalidJSONErr(dec.cursor) } -// DecodeObjectFunc is a custom func type implementating UnarshaleObject. +// DecodeObjectFunc is a custom func type implementing UnarshaleObject. // Use it to cast a func(*Decoder) to Unmarshal an object. // // str := "" diff --git a/encode_object.go b/encode_object.go @@ -145,7 +145,7 @@ func (enc *Encoder) ObjectKeyOmitEmpty(key string, value MarshalerJSONObject) { enc.writeByte('}') } -// EncodeObjectFunc is a custom func type implementating MarshaleObject. +// EncodeObjectFunc is a custom func type implementing MarshaleObject. // Use it to cast a func(*Encoder) to Marshal an object. // // enc := gojay.NewEncoder(io.Writer)