1
0
mirror of https://github.com/json-iterator/go.git synced 2025-01-23 18:54:21 +02:00

153 Commits

Author SHA1 Message Date
Tao Wen
90888390bc fix readFloat64SlowPath not advancing the cursor 2017-05-02 10:15:21 +08:00
Tao Wen
ccb972f58c merge 2017-04-28 09:10:06 +08:00
Tao Wen
8711c74c85 support Any as field type 2017-04-28 09:09:24 +08:00
Tao Wen
abcf2759ed Merge pull request #14 from eruca/master
fix the omitempty bug
2017-04-18 10:23:05 +10:00
Tao Wen
e5476f70e7 #16 fix slice of map 2017-04-16 14:05:08 +08:00
eruca
b986d86f26 add test 2017-03-11 18:19:39 +08:00
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
62028f1ede Merge pull request #11 from Kisesy/patch-1
fix #10
2017-02-26 09:42:45 -06:00
Kisy
696f962eda fix https://github.com/json-iterator/go/issues/10
Update feature_iter_string.go

Update feature_iter_string.go
2017-02-25 13:30:55 +08:00
Tao Wen
9d1feb5431 fix tests jsoniter-go-0.9.8 2017-02-12 22:49:45 +08:00
Tao Wen
9670a03165 fix issue on 32bit platform 2017-02-09 13:50:06 +08:00
Tao Wen
17cbb770f0 fix issue on 32bit platform 2017-02-09 13:35:58 +08:00
Tao Wen
da7ed7809b use hash for field dispatching 2017-02-08 13:46:28 +08:00
Tao Wen
14f696c6f5 Merge branch 'master' of https://github.com/json-iterator/go 2017-02-07 09:24:46 +08:00
Tao Wen
2922666717 fix read int 2017-02-07 09:24:36 +08:00
Tao Wen
06078a3afb Merge pull request #8 from smartczy/patch-1
Update README.md
2017-02-04 07:25:34 -06:00
smart
232e0df179 Update README.md
modify the useage of function Read().
2017-02-04 14:34:00 +08:00
Tao Wen
6880076b44 fix map[string]interface{} in struct 2017-02-03 18:44:54 +08:00
Tao Wen
1e91dbbf58 map any support get all 2017-01-31 23:16:40 +08:00
Tao Wen
bf459b9a49 object lazy any support get all 2017-01-31 20:26:35 +08:00
Tao Wen
498ab96d90 array any support get all 2017-01-31 20:10:16 +08:00
Tao Wen
edb96991a8 add all integer types 2017-01-29 16:55:32 +08:00
Tao Wen
10a1fb8762 wrap map 2017-01-28 23:11:29 +08:00
Tao Wen
95823d0bf1 wrap object 2017-01-28 22:45:03 +08:00
Tao Wen
64c9bd0b1c wrap array 2017-01-28 21:11:36 +08:00
Tao Wen
fa16f3c75c wrap string 2017-01-26 16:41:49 +08:00
Tao Wen
cf4113fc22 wrap float 2017-01-26 16:33:16 +08:00
Tao Wen
85edb698c8 Any Get will never return nil 2017-01-26 16:24:01 +08:00
Tao Wen
9abc2f52b0 add Any GetInterface 2017-01-26 15:44:10 +08:00
Tao Wen
97472ecd96 expose Parse from Any 2017-01-26 15:40:38 +08:00
Tao Wen
4d7e181f9f implement Any WriteTo 2017-01-26 14:56:31 +08:00
Tao Wen
9b587c0f22 suport encode interface 2017-01-26 00:25:17 +08:00
Tao Wen
ce1a1f1e98 test reading into custom interface 2017-01-25 23:25:25 +08:00
Tao Wen
f1c4dbde29 support map of interface{} 2017-01-25 22:43:57 +08:00
Tao Wen
94ae645ab9 array/object to bool/int 2017-01-24 23:13:58 +08:00
Tao Wen
ee54218b0a lazy array get 2017-01-24 22:56:18 +08:00
Tao Wen
fa165c684f array lazy iterator 2017-01-24 22:47:56 +08:00
Tao Wen
8656482625 array lazy fill and full fill 2017-01-24 22:36:16 +08:00
Tao Wen
2d647f04ca implement lazy object three iteration way 2017-01-24 00:23:07 +08:00
Tao Wen
38d613acf2 bool any 2017-01-23 08:45:57 +08:00
Tao Wen
b9fe012eea string any 2017-01-23 08:33:43 +08:00
Tao Wen
d49ea1bc49 float any 2017-01-22 23:38:55 +08:00
Tao Wen
ba410b045b int lazy any 2017-01-22 23:29:48 +08:00
Tao Wen
9df37bbd68 remove any 2017-01-22 19:36:19 +08:00
Tao Wen
9c2b1d24b3 optimize true/false/null: 2017-01-22 19:28:14 +08:00
Tao Wen
1163c348f6 fix write string 2017-01-22 00:04:08 +08:00
Tao Wen
102cd8748e fix write int 2017-01-21 23:22:38 +08:00
Tao Wen
8345c731dd rename 2017-01-21 17:11:38 +08:00