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 |
Tao Wen
|
a3866383f5
support recursive struct
|
7 years ago |
Tao Wen
|
2fcbb23d96
rewrite how eface and iface are handled
|
7 years ago |
Tao Wen
|
ea6403326b
fix #239, empty slice
|
7 years ago |
Tao Wen
|
404d90796f
move type declaration into separate files
|
7 years ago |
Tao Wen
|
b79587753b
move any codec
|
7 years ago |
Tao Wen
|
63ea5e3131
move encoder/decoder of native
|
7 years ago |
Tao Wen
|
895a19f2dc
move json raw message
|
7 years ago |
Tao Wen
|
6327145300
move json number impl
|
7 years ago |