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

27 Commits

Author SHA1 Message Date
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
Tao Wen
8711c74c85 support Any as field type 2017-04-28 09:09:24 +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
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
9df37bbd68 remove any 2017-01-22 19:36:19 +08:00
Tao Wen
1d29fa38ef read to interface{} 2017-01-21 16:09:38 +08:00
Tao Wen
a73e48e8bf optimize read nil/true/false 2017-01-18 23:33:40 +08:00
Tao Wen
a57c8c6202 test array of interface 2017-01-09 21:00:01 +08:00
Tao Wen
1f0a0e9a2d encode optional 2017-01-09 20:51:09 +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
Tao Wen
c78023531e add more tests 2017-01-06 20:27:48 +08:00
Tao Wen
101dfdbb2a fix 4 fields object decoding 2017-01-06 20:17:47 +08:00
SuperFashi
d63a00f0bf Formated, doced. Also fixed few minor bugs. 2017-01-05 21:23:08 +08:00
Tao Wen
97849e019f fix read any; reuse existing obj for optional 2017-01-05 13:53:38 +08:00
Tao Wen
247a23a637 remove skipWhitespaces 2017-01-05 09:16:41 +08:00