1
0
mirror of https://github.com/json-iterator/go.git synced 2024-11-24 08:22:14 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Ben Brooks
d296277d5c Adds MaxDepth config option
Defaults to 10,000 to match the existing maxDepth constant everywhetre,
except when using `ConfigCompatibleWithStandardLibrary` - which retains
the limitless depth (and causes a stack overflow).

Added tests for the new config, and also up to jsoniter's stack overflow limit.
2019-11-11 16:13:59 +00:00
Tao Wen
5d789e5e02 fix #291 omit empty was not handled properly for json raw message 2018-08-06 13:58:33 +08:00
Tao Wen
10a568c511 fix #293 copy extensions 2018-07-22 11:51:51 +08:00
Chao Xu
b92cf78708 Make case sensitivity optional. Fix
https://github.com/kubernetes/kubernetes/issues/64612
2018-06-07 21:01:05 -07:00
Tao Wen
ca39e5af3e suport encode map[interface{}]interface{} 2018-03-15 21:28:16 +08:00
Tao Wen
39acec93e0 expose DecoderOf and EncoderOf 2018-03-14 23:18:20 +08:00
Tao Wen
25fa392355 fix #245, always reuse existing value even UseNumber 2018-03-01 19:23:20 +08:00
Tao Wen
d51e841de0 fix build on 1.8 2018-02-28 20:29:23 +08:00
Tao Wen
3353055b2a use concurrent.Map for 1.8 support 2018-02-28 17:11:57 +08:00
Tao Wen
455b3f8bb8 move reflect2 from plz to modern-go 2018-02-28 17:09:30 +08:00
Tao Wen
fff342fd04 gofmt 2018-02-24 22:04:41 +08:00
Tao Wen
be70f29b04 detect remaining bytes 2018-02-22 10:37:32 +08:00
Tao Wen
a3fdd37b9a use sync.Pool 2018-02-22 10:29:29 +08:00
Tao Wen
99fc16a363 use reflect2 to replace reflect 2018-02-22 10:12:08 +08:00
Tao Wen
2fcbb23d96 rewrite how eface and iface are handled 2018-02-21 12:16:50 +08:00
Tao Wen
3d39af6dd9 remove feature prefix 2018-02-19 23:04:25 +08:00