Releases: json-iterator/go
Releases · json-iterator/go
bug fix
- fix #250 case insensitive field match
- explit test case sensitive for #252
- fix #261 should load from reader
- fix #260, support rename for extra.SupportPrivateFields
- fix #263, support empty string as 0 in fuzz mode
- fix #264 check io.EOF when test decoder.More
- fix #274, unescape before base64 decode
- Merge pull request #282 from caesarxuchao/optional-case-sensitivity
- fix #276 allow rename when set naming strategy
expose DecoderOf and EncoderOf
- fix #245, always reuse existing value even UseNumber
- expose DecoderOf and EncoderOf
- suport encode map[interface{}]interface{}
move reflect2 package
The reflect2 dependency has been pulled out from plz into its own. Also use concurrent.Map to wrap sync.Map for 1.8 support.
support 32bit platform
do not hard code IntSize and PtrSize to 64
Make unsafe safer by reflect2
Instead of let unsafe cast spread across the codebase, starting from 1.1.0, json-iterator use reflect2 (https://github.com/v2pro/plz/tree/master/reflect2) package to implement unsafe reflection. Aslo the map encoder/decoder has been rewritten to use unsafe reflection.
Bug fix
Bug fix
- use sync.Map or mutex to make encoder/decoder cache thread safe
- fix #198 use vendoring
- fix #200 removed symbolic link
- fix #202 crash on custom map encoder
- fix #207 Encoding nil pointer to struct containing exported function leads to marshalling error
- fix #214 do not wrap EOF
- fix #217 when input is "null", should not report error for unmarshallable type
- fix #219 nested field with json tag 'omitempty' should not be marshalled if it has zero value
- fix #227 incorrect marshalling of json.Number for empty string
- fix #228 Any.ToInt() resulting not nil LastError()
Bug fix
Bug fix
- do not report error when field is unexported
- #178 SkipAndReturnBytes should return copy of memory
- #177 flush buffer should check available again
- #180, add missing methods to jsoniter.Number
- #181, support string as json.Number and jsoniter.Number
- #184, support null as number
- #183 limit error message size
- #185 add jsoniter.Valid