1
0
mirror of https://github.com/json-iterator/go.git synced 2025-04-04 21:34:16 +02:00

17 Commits

Author SHA1 Message Date
Jason Toffaletti
b5d2607a6d replace should.Equal(nil, err) with should.NoError(err) 2017-09-16 16:30:04 -07:00
Oleg Shaldybin
18a241d40b Allow null booleans
Make sure we do the same thing as stdlib with null booleans by not
touching the original value and discarding the null.

Another somewhat related change is nulling out null interface values in
the original structure. This also matches stdlib behavior.
2017-09-14 16:47:35 -07:00
Tao Wen
b74ffb2e03 import github.com/stretchr/testify/require 2017-07-07 09:13:25 +08:00
Xargin
ee6536c50a increase coverage 2017-07-06 11:44:39 +08:00
Tao Wen
8ab46965bd extract out any tests 2017-06-17 21:32:48 +08:00
Tao Wen
0195110b5b gofmt 2017-06-17 21:11:23 +08:00
Tao Wen
3d5f6d3a4a #58 string mode support both encoding and decoding 2017-06-17 11:38:09 +08:00
Tao Wen
b31b1301e2 #59 add ConfigFastest 2017-06-17 10:21:37 +08:00
Tao Wen
5f22e50c89 #53 support escapeHtml 2017-06-15 23:55:04 +08:00
Tao Wen
acddcf5bbf #53 extract out config 2017-06-13 16:58:53 +08:00
Tao Wen
cfffa29c8a gofmt 2017-06-06 23:27:00 +08:00
Tao Wen
38d613acf2 bool any 2017-01-23 08:45:57 +08:00
Tao Wen
1d29fa38ef read to interface{} 2017-01-21 16:09:38 +08:00
Tao Wen
a73e48e8bf optimize read nil/true/false 2017-01-18 23:33:40 +08:00
Tao Wen
552afb3625 struct encoder 2017-01-09 19:19:48 +08:00
Tao Wen
21549b9fd8 write object 2017-01-07 22:08:45 +08:00
Tao Wen
ce5b193569 support null/true/false 2016-12-02 11:22:20 +08:00