1
0
mirror of https://github.com/json-iterator/go.git synced 2025-04-23 11:37:32 +02:00

11 Commits

Author SHA1 Message Date
eruca
9a138f8b6a fix bug of another comma added
previous code will add comma if the field is empty when is not first, like 
```
{"account":"1120","name":"nick",,"department":"fsaf","role":1,"privilege":32,,"created_at":1489226500}
```
2017-03-11 18:17:34 +08:00
Tao Wen
d1aa59e34e #12 implement omitempty 2017-03-08 07:38:25 -08:00
Tao Wen
ceb8c8a733 create map if nil 2017-03-07 18:36:58 -08:00
Tao Wen
da7ed7809b use hash for field dispatching 2017-02-08 13:46:28 +08:00
Tao Wen
6880076b44 fix map[string]interface{} in struct 2017-02-03 18:44:54 +08:00
Tao Wen
9b587c0f22 suport encode interface 2017-01-26 00:25:17 +08:00
Tao Wen
d14b025931 make ReadObject return safe string 2017-01-20 12:40:52 +08:00
Tao Wen
90fc0b822f array encoder 2017-01-09 19:48:57 +08:00
Tao Wen
552afb3625 struct encoder 2017-01-09 19:19:48 +08:00
Tao Wen
5b0609f901 support int/string encode 2017-01-09 17:47:21 +08:00
Tao Wen
5af8cc4b09 split files 2017-01-07 07:49:50 +08:00