1
0
mirror of https://github.com/json-iterator/go.git synced 2024-11-27 08:30:57 +02:00
Commit Graph

70 Commits

Author SHA1 Message Date
Tao Wen
9c358632dc #144 make []byte support Unmarshaler&Marshaler 2017-08-09 13:59:40 +08:00
Tao Wen
1cfa233923 #143 make jsoniter.Number same meaning as json.Number, however UseNumber still returns json.Number. 1.9 alias support should be added later 2017-08-05 07:22:53 +08:00
Tao Wen
c15b4d116c #139 unmarshal non base64 into []byte 2017-07-19 12:04:22 +08:00
Tao Wen
f0487718f6 document public symbols 2017-07-09 16:09:23 +08:00
Tao Wen
bf002a02be #102 create correct type when pointer to Marshaler/Unmarshaler is nil 2017-07-02 11:35:30 +08:00
Tao Wen
815aa331a8 #101 checkIsEmpty can not reuse createEncoderOfSimpleType, otherwise it will fail when struct member is not serializable 2017-07-02 11:13:21 +08:00
Tao Wen
54ab168362 #99 support uintptr 2017-07-02 11:03:13 +08:00
Tao Wen
f2c50ef73b #97 omit empty behavior should follow the original type 2017-07-02 00:41:23 +08:00
Tao Wen
84fa033353 #80 fix the case when embedded struct ptr is nil 2017-06-29 18:45:11 +08:00
Tao Wen
545a32f2a1 #76 support TextUnmarshal 2017-06-29 00:14:55 +08:00
Tao Wen
08dbc98040 #76 fix UnmarshalJSON 2017-06-28 23:55:32 +08:00
Tao Wen
76e62088df #78 not null pointer is considered not empty 2017-06-28 23:39:46 +08:00
Tao Wen
cf77980493 #71 fixed []byte alias 2017-06-26 14:25:56 +08:00
Tao Wen
d100b0d41f fix typo 2017-06-26 10:02:45 +08:00
Tao Wen
81e64121ba #71 fix html escape for string alias 2017-06-26 09:57:45 +08:00
Tao Wen
486534c67c #67 time as int64 2017-06-20 17:43:47 +08:00
Tao Wen
85be06b145 #68 empty array to object/map 2017-06-20 16:36:22 +08:00
Tao Wen
818ae1331a #68 number to string 2017-06-20 15:11:01 +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
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
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
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
50583f6bae #63 support *json.RawMessage 2017-06-19 22:57:43 +08:00
Tao Wen
69bc64b6d8 #54 support sort map keys 2017-06-16 16:46:30 +08:00
Tao Wen
d867c8ba5c #53 split config into Config and frozenConfig 2017-06-13 18:49:35 +08:00
Tao Wen
acddcf5bbf #53 extract out config 2017-06-13 16:58:53 +08:00
Tao Wen
788918b85d #56 nil map or array should be null not [] or {} 2017-06-13 09:14:19 +08:00
Fei Ni
6f50f15678 decoder/encoder;float precision doc 2017-06-11 16:30:31 +08:00
Fei Ni
cee09816e3 decoder/encoder;float precision doc 2017-06-11 16:28:31 +08:00
Tao Wen
cfffa29c8a gofmt 2017-06-06 23:27:00 +08:00
Tao Wen
a4e5abf492 support []byte; marshal without copy 2017-06-06 09:44:56 +08:00
Tao Wen
3979955e69 support TextMarshaler as map key 2017-06-06 00:09:33 +08:00
Tao Wen
5fd09f0e02 remove mapInterfaceEncoder 2017-06-05 23:56:37 +08:00
Tao Wen
af4982b22c support decode int key map 2017-06-05 23:53:48 +08:00
Tao Wen
a7f992f0e1 #35 fix json.Number matches string 2017-06-02 15:43:58 +08:00
Tao Wen
fe9fa8900e #31 support json.RawMessage 2017-06-02 10:50:23 +08:00
Tao Wen
ad3a7fde32 #30 support json.Number 2017-06-02 10:21:43 +08:00
Tao Wen
707ed3b091 support non empty interface 2017-05-27 00:36:21 +08:00
Tao Wen
f20f74519d RegisterTypeEncoder and RegisterTypeDecoder should have higher priority 2017-05-24 23:39:34 +08:00
Tao Wen
7d2ae80c37 #27 support json.Unmarshaler 2017-05-24 16:04:11 +08:00
Tao Wen
f6f159e108 #27 support json.Marshaler 2017-05-24 14:34:00 +08:00
Tao Wen
7d5f90261e #28 extension should support specifying encoder 2017-05-24 10:58:56 +08:00
Tao Wen
5488fde97f fix one field struct interface{} optimization compatibility 2017-05-23 17:44:50 +08:00
Tao Wen
91b9e828b7 support recursive type 2017-05-05 16:51:05 +08:00
Tao Wen
6bd835aeb1 test type encoder 2017-05-05 08:22:19 +08:00