1
0
mirror of https://github.com/json-iterator/go.git synced 2025-04-20 11:28:49 +02:00

5 Commits

Author SHA1 Message Date
Jens Erat
a1c9557592
pass nested error in compatible configuration
When invalid types inside a map were marshalled (in general, as soon as
sorted maps have been configured), the error message has not been
propagated out of the map's `subStream`.

Also fix and re-enable the channel test, which now resembles the
behavior of `encoding/json` and tests both default and compatible
configurations.

Signed-off-by: Jens Erat <email@jenserat.de>
2019-11-22 16:56:59 +01:00
Tao Wen
5916df66b3 fix #311 handle nil any 2018-10-24 21:05:37 +08:00
Tao Wen
fff342fd04 gofmt 2018-02-24 22:04:41 +08:00
Tao Wen
477be43d00 consolidate more tests 2018-02-14 10:13:34 +08:00
Tao Wen
e3bc511e5a consolidate more tests 2018-02-14 08:28:17 +08:00