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
liyibo [李一博]
976454858b
use json.Marshaler then trim the last '\n' in reflect_marshaler
...
N/A
2019-08-14 10:10:02 +08:00
Tao Wen
5bc9320502
Merge pull request #316 from proemergotech/master
...
fix #308 do NOT skip embedded structs without tag when OnlyTaggedFiel…
2019-02-08 15:56:42 +08:00
Li Yi
e4aa2ec063
Fix the incompatible encoding
2019-01-03 18:19:22 +08: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
Tao Wen
2fbdfbb595
merge
2018-07-01 13:06:34 +08:00
Tao Wen
720ab8dc7f
add tests for #283
2018-07-01 13:05:25 +08:00
Nikhita Raghunath
3830516ed0
Fix case sensitivity for nested fields
2018-06-12 11:27:24 +05:30
Tao Wen
a949c42748
fix #261 should load from reader
2018-04-18 16:11:14 +08:00
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
Tao Wen
002b5ae342
fix tests
2018-02-05 23:45:42 +08:00
Tao Wen
07f99a1124
fix build
2018-02-05 23:05:57 +08:00
Tao Wen
71f74dc71e
implement #230 DisallowUnknownFields option added
2018-02-05 23:03:53 +08:00