gojay

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

commit e986c8105caa7eee4930dfe71cc8632e295c1cb3
parent 872880a888cdc928da73da0c3856acd384629f84
Author: Andrio Septianto <aseptianto@connect.ust.hk>
Date:   Thu, 26 Apr 2018 11:03:25 +0800

FIX: Typo on README.md
Diffstat:
MREADME.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -31,7 +31,7 @@ type user struct { } // implement UnmarshalerObject func (u *user) UnmarshalObject(dec *gojay.Decoder, key string) error { - switch k { + switch key { case "id": return dec.AddInt(&u.id) case "name":