Tao Wen
|
fb4d53e4cc
Merge pull request #255 from bboreham/error-test
|
7 سال پیش |
Bryan Boreham
|
b53656d459
Check that a struct ends with closing brace
|
7 سال پیش |
Bryan Boreham
|
8f27a81d90
Add a test for input errors
|
7 سال پیش |
Tao Wen
|
4930b053b8
explit test case sensitive for #252
|
7 سال پیش |
Tao Wen
|
06e0f9391e
fix #250 case insensitive field match
|
7 سال پیش |
Tao Wen
|
ca39e5af3e
suport encode map[interface{}]interface{}
|
7 سال پیش |
Tao Wen
|
39acec93e0
expose DecoderOf and EncoderOf
|
7 سال پیش |
Tao Wen
|
25fa392355
fix #245, always reuse existing value even UseNumber
|
7 سال پیش |
Tao Wen
|
d51e841de0
fix build on 1.8
|
7 سال پیش |
Tao Wen
|
3353055b2a
use concurrent.Map for 1.8 support
|
7 سال پیش |
Tao Wen
|
455b3f8bb8
move reflect2 from plz to modern-go
|
7 سال پیش |
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 سال پیش |
Tao Wen
|
9472474ffd
test []byte behavior
|
7 سال پیش |
Tao Wen
|
ad83167dc6
fix #243 fuzzy decoder should take null as valid input
|
7 سال پیش |
Tao Wen
|
fff342fd04
gofmt
|
7 سال پیش |
Tao Wen
|
8d6662b81b
fix #242 add CreateMapKeyEncoder and CreateMapKeyDecoder to extension spi
|
7 سال پیش |
Tao Wen
|
a377e2656b
add map key example
|
7 سال پیش |
Tao Wen
|
0ac74bba4a
upgrade reflect2
|
7 سال پیش |
Tao Wen
|
ebe943a4a6
fix #241, support 32bit platform
|
7 سال پیش |
Tao Wen
|
414d0307c9
fix struct decoder report error
|
7 سال پیش |
Tao Wen
|
86e9fd72bc
update pkg
|
7 سال پیش |
Tao Wen
|
be70f29b04
detect remaining bytes
|
7 سال پیش |
Tao Wen
|
a3fdd37b9a
use sync.Pool
|
7 سال پیش |
Tao Wen
|
d346ea6e55
get encoder without get type first
|
7 سال پیش |
Tao Wen
|
820ec30bd6
get decoder without get type first
|
7 سال پیش |
Tao Wen
|
df8295a48a
fix 1.8
|
7 سال پیش |
Tao Wen
|
99fc16a363
use reflect2 to replace reflect
|
7 سال پیش |
Tao Wen
|
a3866383f5
support recursive struct
|
7 سال پیش |
Tao Wen
|
2fcbb23d96
rewrite how eface and iface are handled
|
7 سال پیش |
Tao Wen
|
ea6403326b
fix #239, empty slice
|
7 سال پیش |