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

387 Commits

Author SHA1 Message Date
nifei
ff027701f5 Marshal comment 2017-06-05 19:15:56 +08:00
nifei
c69b61f879 Marshal comment 2017-06-05 19:14:40 +08:00
nifei
d97f5db769 Marshal comment 2017-06-05 19:11:16 +08:00
Tao Wen
45bbb40a9f #34 implement NewEncoder 2017-06-02 18:46:44 +08:00
Tao Wen
e36f926072 fix random go test failure 2017-06-02 17:34:40 +08:00
Tao Wen
59e71bacc8 #36 handle anonymous 2017-06-02 16:52:20 +08:00
Tao Wen
5cb0d35610 eof is not error 2017-06-02 16:06:33 +08:00
Tao Wen
69b742e73a #34 support More() and Buffered() 2017-06-02 16:00:12 +08:00
Tao Wen
a7f992f0e1 #35 fix json.Number matches string 2017-06-02 15:43:58 +08:00
Tao Wen
4cc44e7380 #34 add decoder adapter 2017-06-02 15:38:20 +08:00
Tao Wen
5310d4aa9a syntax highlight 2017-06-02 11:20:54 +08:00
Tao Wen
2051e3b8ae simplify readme 2017-06-02 11:20:24 +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
377b892102 support big float and int 2017-05-31 12:40:50 +08:00
Tao Wen
707ed3b091 support non empty interface 2017-05-27 00:36:21 +08:00
Tao Wen
a7a7c7879a allocate less buffer for writing to []byte 2017-05-26 07:52:54 +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
e5a1e704ad #25 make fielding binding case insensitive 2017-05-24 13:16:09 +08:00
Tao Wen
7d5f90261e #28 extension should support specifying encoder 2017-05-24 10:58:56 +08:00
Tao Wen
6126a6d3ca #23 hide unexported fields by default 2017-05-24 09:39:11 +08:00
Tao Wen
5fbe4e387d #21 #22 marshal float precisely by default 2017-05-24 09:08:15 +08:00
Tao Wen
fc44cb2d91 #26 do not enforce pointer as optional 2017-05-23 18:46:11 +08:00
Tao Wen
7e046e6aa7 simplify read string, and support null 2017-05-23 18:32:39 +08:00
Tao Wen
5488fde97f fix one field struct interface{} optimization compatibility 2017-05-23 17:44:50 +08:00
Tao Wen
53f8d370b5 fix wrap any 2017-05-19 19:44:27 +08:00
Tao Wen
3f1fcaff87 demonstrate how to customize float encoding 2017-05-11 08:00:50 +08:00
Tao Wen
1df353727b customize []byte encoder 2017-05-06 20:52:36 +08:00
Tao Wen
b893a0359d trim end space 2017-05-05 17:44:09 +08:00
Tao Wen
a92111261c fix struct with one pointer field 2017-05-05 17:27:41 +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
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 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