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

593 Commits

Author SHA1 Message Date
Tao Wen
6a4fbb9892 ensure buffer flushed to io.Writer 2017-07-16 10:47:24 +08:00
Tao Wen
4ae426c4b7 Merge branch 'master' of https://github.com/json-iterator/go 2017-07-15 18:09:14 +08:00
Tao Wen
b46d0a2324 make test faster 2017-07-15 18:09:06 +08:00
Tao Wen
8b03604184 Merge pull request #131 from cch123/feature-increase-coverage
update conversion table, add string escape test
2017-07-13 19:01:45 +08:00
Xargin
93ce14316d increase coverage 2017-07-13 15:32:26 +08:00
Xargin
779c3e2164 update conversion table 2017-07-13 00:13:04 +08:00
Tao Wen
4b33139ad0 #130 loadMore should use iter.captured 2017-07-12 17:56:51 +08:00
Tao Wen
dc388588a3 Merge branch 'master' of https://github.com/json-iterator/go 2017-07-12 16:40:14 +08:00
Tao Wen
bd4364ab7c #129 fix read map with reader, should use ReadMapCB instead of ReadObjectCB 2017-07-12 16:40:05 +08:00
Tao Wen
b9dc3ebda7 Merge pull request #128 from carlcarl/fix-json-use-number
Fix #123, `UseNumber` not works with iterator
2017-07-12 07:04:30 +08:00
carlcarl
90137b4a60 Use readNumberAsString 2017-07-12 00:23:49 +08:00
carlcarl
be9d4ded4f Use json.Number as the return 2017-07-12 00:11:50 +08:00
carlcarl
7b1fd129cf Add test for iterator UseNumber 2017-07-11 23:39:09 +08:00
carlcarl
b91b7ac682 Fix #123, make iterator read int if using number 2017-07-11 22:07:08 +08:00
Tao Wen
845d8438db #126 fix space in case map key is sorted 2017-07-11 01:07:18 +08:00
Tao Wen
d37197e176 #126 add space between map key and value when MarshalIndent 2017-07-10 22:14:11 +08:00
Tao Wen
45c22b130b Merge branch 'master' of https://github.com/json-iterator/go 2017-07-10 15:24:04 +08:00
Tao Wen
4a84b0b30e Merge branch 'liggitt-malformed-string-test' 2017-07-10 15:23:52 +08:00
Tao Wen
0187038bad check null/true/false 2017-07-10 15:23:35 +08:00
Tao Wen
c38e47d169 control character in string is invalid 2017-07-10 15:13:31 +08:00
Tao Wen
b27718d16b Merge pull request #125 from liggitt/exponents
Fix exponent parsing
2017-07-10 14:51:10 +08:00
Jordan Liggitt
a447a8f797
Add tests for malformed string input 2017-07-10 02:44:15 -04:00
Jordan Liggitt
0d6dae80e1
Fix exponent parsing 2017-07-10 02:06:37 -04:00
Tao Wen
d336ee6da6 fix build 2017-07-09 16:28:35 +08:00
Tao Wen
3606750b83 document public symbols 2017-07-09 16:26:30 +08:00
Tao Wen
db3f5046d7 remove GetObject & GetArray from Any 2017-07-09 16:15:45 +08:00
Tao Wen
f0487718f6 document public symbols 2017-07-09 16:09:23 +08:00
Tao Wen
46574e7d09 document public symbols 2017-07-09 15:23:18 +08:00
Tao Wen
3a6ecf051c make receiver names consistent 2017-07-09 15:11:24 +08:00
Tao Wen
5862c51768 extract out feature_reflect_struct_decoder 2017-07-09 15:07:53 +08:00
Tao Wen
ce479f3476 fix golint: document exported symbols 2017-07-09 14:57:49 +08:00
Tao Wen
bede1d7f40 fix build; add document for exported symbols 2017-07-09 14:48:34 +08:00
Tao Wen
d3448d3dbd fix golint: document exported symbols 2017-07-09 14:21:12 +08:00
Tao Wen
8fbed91768 fix golint: document exported symbols 2017-07-09 14:17:40 +08:00
Tao Wen
3b6853d209 fix golint: do not export test types 2017-07-09 14:12:58 +08:00
Tao Wen
4351a2e6e9 fix golint: do not export test types 2017-07-09 11:55:58 +08:00
Tao Wen
891d33b415 fix golint: do not export test types 2017-07-09 11:40:45 +08:00
Tao Wen
ad20f12c34 fix golint: do not export test types 2017-07-09 11:33:03 +08:00
Tao Wen
9ecb1fd36d fix go vet 2017-07-09 11:24:26 +08:00
Tao Wen
6d0e6f3733 fix go report card 2017-07-09 11:12:37 +08:00
Tao Wen
711f836582 fix go report card 2017-07-09 11:10:44 +08:00
Tao Wen
37ba1b32b5 Merge branch 'javierprovecho-master' 2017-07-09 01:01:13 +08:00
Javier Provecho Fernandez
2c10d8e6bb test(object): add test for ignored field on not valid type 2017-07-08 16:50:11 +02:00
Javier Provecho Fernandez
aaf6160146 fix(reflect): don't process ignored struct fields 2017-07-08 16:50:05 +02:00
Tao Wen
b1afefe058 Merge pull request #119 from cch123/feature-increase-coverage
user defined simple type test
2017-07-07 21:43:33 +08:00
Xargin
3bb49c1e47 add type def marshal/unmarshal test 2017-07-07 19:01:53 +08:00
Tao Wen
eb68fff85c Merge pull request #118 from cch123/feature-increase-coverage
add int/int8/int32/int64 overflow test
2017-07-07 18:49:35 +08:00
Xargin
e07a4ca5ec add int/int8/int32/int64 overflow test 2017-07-07 17:14:52 +08:00
Tao Wen
dfa4bdf888 merge 2017-07-07 09:14:24 +08:00
Tao Wen
b74ffb2e03 import github.com/stretchr/testify/require 2017-07-07 09:13:25 +08:00