Jordan Liggitt
7c9f8c2d20
Revert "Merge pull request #418 from bbrks/configurable_maxDepth"
...
This reverts commit 44a7e7340d23d2e5d5d942966eb683436c027da0, reversing
changes made to dc11f49689fd1c9a6de20749def70bd889bf0d42.
2019-12-19 19:06:29 -05:00
Ben Brooks
2834c7e43c
Remove large test values that fail on 32-bit architectures
2019-11-11 16:35:50 +00:00
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
Adam Kiss
a9403d25cd
fix #308 do NOT skip embedded structs without tag when OnlyTaggedField is set to true
2018-10-29 12:00:51 +01:00
Nikhita Raghunath
3830516ed0
Fix case sensitivity for nested fields
2018-06-12 11:27:24 +05:30
Tao Wen
fff342fd04
gofmt
2018-02-24 22:04:41 +08:00
Tao Wen
2fcbb23d96
rewrite how eface and iface are handled
2018-02-21 12:16:50 +08:00
Tao Wen
8fa357ab7b
consolidate mor tests
2018-02-13 23:49:40 +08:00
Tao Wen
761ce8cce2
consolidate more tests
2018-02-13 20:58:29 +08:00