Mikhail Mazurskiy
|
b858ec296c
Release writer to enable GC
|
7 years ago |
Tao Wen
|
885a41a0a6
Merge branch 'master' of https://github.com/json-iterator/go
|
7 years ago |
Tao Wen
|
9e9a97040e
always benchmark yourself
|
7 years ago |
Tao Wen
|
fb4d53e4cc
Merge pull request #255 from bboreham/error-test
|
7 years ago |
Bryan Boreham
|
b53656d459
Check that a struct ends with closing brace
|
7 years ago |
Bryan Boreham
|
8f27a81d90
Add a test for input errors
|
7 years ago |
Tao Wen
|
4930b053b8
explit test case sensitive for #252
|
7 years ago |
Tao Wen
|
06e0f9391e
fix #250 case insensitive field match
|
7 years ago |
Tao Wen
|
ca39e5af3e
suport encode map[interface{}]interface{}
|
7 years ago |
Tao Wen
|
39acec93e0
expose DecoderOf and EncoderOf
|
7 years ago |
Tao Wen
|
25fa392355
fix #245, always reuse existing value even UseNumber
|
7 years ago |
Tao Wen
|
d51e841de0
fix build on 1.8
|
7 years ago |
Tao Wen
|
3353055b2a
use concurrent.Map for 1.8 support
|
7 years ago |
Tao Wen
|
455b3f8bb8
move reflect2 from plz to modern-go
|
7 years ago |
Tao Wen
|
2a93f9003e
fix #244 use BinaryAsStringExtension to make []byte pretty, while the output is valid json, but it can not be decoded by other json codec, as \x01 is decoded as \x01 by them, which is not original input
|
7 years ago |
Tao Wen
|
9472474ffd
test []byte behavior
|
7 years ago |
Tao Wen
|
ad83167dc6
fix #243 fuzzy decoder should take null as valid input
|
7 years ago |
Tao Wen
|
fff342fd04
gofmt
|
7 years ago |
Tao Wen
|
8d6662b81b
fix #242 add CreateMapKeyEncoder and CreateMapKeyDecoder to extension spi
|
7 years ago |
Tao Wen
|
a377e2656b
add map key example
|
7 years ago |
Tao Wen
|
0ac74bba4a
upgrade reflect2
|
7 years ago |
Tao Wen
|
ebe943a4a6
fix #241, support 32bit platform
|
7 years ago |
Tao Wen
|
414d0307c9
fix struct decoder report error
|
7 years ago |
Tao Wen
|
86e9fd72bc
update pkg
|
7 years ago |
Tao Wen
|
be70f29b04
detect remaining bytes
|
7 years ago |
Tao Wen
|
a3fdd37b9a
use sync.Pool
|
7 years ago |
Tao Wen
|
d346ea6e55
get encoder without get type first
|
7 years ago |
Tao Wen
|
820ec30bd6
get decoder without get type first
|
7 years ago |
Tao Wen
|
df8295a48a
fix 1.8
|
7 years ago |
Tao Wen
|
99fc16a363
use reflect2 to replace reflect
|
7 years ago |