1
0
mirror of https://github.com/json-iterator/go.git synced 2025-01-23 18:54:21 +02:00

217 Commits

Author SHA1 Message Date
nifei
3cf822853f example unmarshal 2017-06-08 12:07:03 +08:00
Tao Wen
26708bccc9 report error when string end not found 2017-06-08 09:46:19 +08:00
Tao Wen
d75b539bad add test for scientific float 2017-06-07 21:34:56 +08:00
Tao Wen
cfffa29c8a gofmt 2017-06-06 23:27:00 +08:00
Tao Wen
925df245d3 good enough indent implementation 2017-06-06 23:18:37 +08:00
Tao Wen
962a8cd303 #40 support UseNumber 2017-06-06 23:15:15 +08:00
Tao Wen
6509ba05df Merge pull request #41 from 1046102779/master
解析时,如果输出参数不是指针类型,直接报错,避免程序挂掉
2017-06-06 10:03:06 -05:00
Tao Wen
579dbf3c1d Merge pull request #42 from 1046102779/patch-1
把floatDigits改为intDigits
2017-06-06 10:02:26 -05:00
yellow chicks
aa5181db67 把floatDigits改为intDigits 2017-06-06 21:08:04 +08:00
yellow chicks
67be6df2b1 Update feature_adapter.go 2017-06-06 20:01:43 +08:00
chendonghai
0f5379494a unmarshal failed return non-pointer error 2017-06-06 19:36:33 +08:00
Tao Wen
d09e2419ba update benchmark 2017-06-06 16:55:32 +08:00
Tao Wen
e1a71f6ba1 update benchmark 2017-06-06 16:54:26 +08:00
Tao Wen
dcb78991c4 flush when buffer is large enough 2017-06-06 14:16:54 +08:00
Tao Wen
9e8238cdc6 remove unused file 2017-06-06 12:41:13 +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
29dc1d407d write map with int key 2017-06-05 23:01:00 +08:00
Tao Wen
5b27aaa62c update test 2017-06-05 22:10:01 +08:00
Tao Wen
106636a191 update test 2017-06-05 22:08:28 +08:00
Tao Wen
f50c4cfbbe Merge branch 'master' of https://github.com/json-iterator/go 2017-06-05 22:05:02 +08:00
Tao Wen
87149ae489 add simple marshal benchmark 2017-06-05 22:04:52 +08:00
nifei
c0a4ad72e1 example test 2017-06-05 20:37:08 +08:00
nifei
404c0ee44b Decoder doc 2017-06-05 19:57:20 +08:00
nifei
10c1506f87 link test 2017-06-05 19:38:34 +08:00
nifei
9a43fe6468 adapter api comment 2017-06-05 19:31:30 +08:00
nifei
95e03f2937 Marshal comment 2017-06-05 19:19:46 +08:00
nifei
4406ed9e62 Marshal comment 2017-06-05 19:18:12 +08:00
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 jsoniter-go-0.9.13 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