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

297 Commits

Author SHA1 Message Date
Tao Wen
486534c67c #67 time as int64 2017-06-20 17:43:47 +08:00
Tao Wen
ed79b1726e fix encoder/decoder cast issue 2017-06-20 17:01:21 +08:00
Tao Wen
85be06b145 #68 empty array to object/map 2017-06-20 16:36:22 +08:00
Tao Wen
086001225d #68 string to float64 2017-06-20 16:20:56 +08:00
Tao Wen
2ea4d48e1f #68 string to float32 2017-06-20 16:17:00 +08:00
Tao Wen
417011b497 #68 remove redundant math max constants 2017-06-20 16:10:29 +08:00
Tao Wen
ae6ce2fc3f #68 fuzzy all kinds of integer 2017-06-20 16:07:30 +08:00
Tao Wen
8ef0c22f25 #68 handle float to int safely 2017-06-20 15:46:22 +08:00
Tao Wen
a5ae3a2649 #68 float to int 2017-06-20 15:20:56 +08:00
Tao Wen
306b2896cf #68 string to int 2017-06-20 15:18:24 +08:00
Tao Wen
818ae1331a #68 number to string 2017-06-20 15:11:01 +08:00
Tao Wen
8f6a840c63 fix anonymous struct 2017-06-20 13:33:40 +08:00
Tao Wen
be221df432 #66 Make extension api like the java version 2017-06-20 10:41:54 +08:00
Tao Wen
499412ec4c #66 extract out feacture_reflect_extension 2017-06-20 08:42:36 +08:00
Tao Wen
c36a7ed7cd #66 extract out feacture_reflect_extension 2017-06-20 08:42:25 +08:00
Tao Wen
14588726a1 expose ValEncoder & ValDecoder 2017-06-20 08:08:59 +08:00
Tao Wen
aa01f57b7f rename AdaptedDecoder => Decoder and AdaptedEncoder => Encoder 2017-06-20 08:00:43 +08:00
Tao Wen
b3170a8cef rename Encoder => ValEncoder and Decoder => ValDecoder 2017-06-20 07:59:45 +08:00
Tao Wen
43a832beee add isEmptyFunc 2017-06-20 07:57:23 +08:00
Tao Wen
39c9bb226a fix lossy float marshal and omit empty 2017-06-20 07:51:38 +08:00
Tao Wen
945fe53724 fix html escape test and omit empty 2017-06-20 07:46:13 +08:00
Tao Wen
8367a97ad8 gofmt 2017-06-20 07:39:54 +08:00
Tao Wen
365d399192 #65 make placeholder thread safe 2017-06-20 07:39:38 +08:00
Tao Wen
839247df05 #63 fix Marshaler and Unmarshaler on struct 2017-06-20 07:23:22 +08:00
Tao Wen
f5edf564c8 gofmt 2017-06-19 23:43:53 +08:00
Tao Wen
c3f5a2c536 #64 support fixed array 2017-06-19 23:43:28 +08:00
Tao Wen
c6a598e292 # add jsoniter.RawMessage 2017-06-19 23:10:20 +08:00
Tao Wen
eecb062c32 #63 support decode anonymous struct 2017-06-19 23:02:57 +08:00
Tao Wen
50583f6bae #63 support *json.RawMessage 2017-06-19 22:57:43 +08:00
Tao Wen
3b883aeffc #63 add more tests for json.RawMessage 2017-06-19 21:24:59 +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
31afe6450e add Api interface to allow save the frozen config 2017-06-19 13:43:22 +08:00
Tao Wen
7e9017caa2 remove unused files 2017-06-18 23:43:01 +08:00
Tao Wen
b6dfbbd6bc add document 2017-06-18 23:42:23 +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
15c92d48df #61 remove internal buffer from numberLazyAny 2017-06-18 22:48:28 +08:00
Tao Wen
a84cdaa694 #61 remove internal buffer from arrayAny 2017-06-18 22:40:18 +08:00
Tao Wen
9f9ca4c9fc #61 remove stringLazyAny 2017-06-18 22:24:11 +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
1ec246d16b #61 read any reuse skip impl 2017-06-18 17:00:28 +08:00
Tao Wen
54dbcda64d #62 SkipAndReturnBytes should support reader 2017-06-18 16:28:43 +08:00
Tao Wen
7a049ec79c #60 support read interface{} as json.Number 2017-06-18 15:22:37 +08:00
Tao Wen
77dcffe77d tweak performance 2017-06-17 22:42:11 +08:00
Tao Wen
8ab46965bd extract out any tests 2017-06-17 21:32:48 +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
50e4910c63 document how to get best performance 2017-06-17 17:14:34 +08:00