1
0
mirror of https://github.com/json-iterator/go.git synced 2024-12-03 08:45:22 +02:00
Commit Graph

36 Commits

Author SHA1 Message Date
Tao Wen
d249b05a85 rename ValueType, to avoid collision with json.Number 2017-08-05 07:10:15 +08:00
Tao Wen
bd4364ab7c #129 fix read map with reader, should use ReadMapCB instead of ReadObjectCB 2017-07-12 16:40:05 +08:00
Tao Wen
db3f5046d7 remove GetObject & GetArray from Any 2017-07-09 16:15:45 +08:00
Xargin
8675af13bf increase coverage 2017-07-05 20:30:54 +08:00
Xargin
ac8dd56dfb object cannot covert to int/float in php, so change covert result to zero 2017-07-04 00:53:10 +08:00
Xargin
919a2eff5c fix bool test 2017-07-03 19:40:12 +08:00
Tao Wen
f5edf564c8 gofmt 2017-06-19 23:43:53 +08:00
Tao Wen
baca358b53 add MustBeValid to Any 2017-06-19 21:21:20 +08:00
Tao Wen
514db10f97 add Any.ToVal 2017-06-19 15:40:00 +08:00
Tao Wen
3ffa5af7ec #61 remove internal buffer from mapAny 2017-06-18 23:18:32 +08:00
Tao Wen
02cf6a73cc #61 remove internal buffer from objectAny 2017-06-18 23:09:30 +08:00
Tao Wen
985e263300 #61 removed internal buffer from lazy array and object; jsoniter.Get replaced jsoniter.UnmarshalAny 2017-06-18 22:22:13 +08:00
Tao Wen
2503ef17eb marshal lazy array/object using the config 2017-06-17 21:13:17 +08:00
Tao Wen
0195110b5b gofmt 2017-06-17 21:11:23 +08:00
Tao Wen
55fc498d27 use iterator from cache for any 2017-06-17 21:10:08 +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
e36f926072 fix random go test failure 2017-06-02 17:34:40 +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
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
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
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
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