Tao Wen
|
ca39e5af3e
suport encode map[interface{}]interface{}
|
7 vuotta sitten |
Tao Wen
|
39acec93e0
expose DecoderOf and EncoderOf
|
7 vuotta sitten |
Tao Wen
|
25fa392355
fix #245, always reuse existing value even UseNumber
|
7 vuotta sitten |
Tao Wen
|
d51e841de0
fix build on 1.8
|
7 vuotta sitten |
Tao Wen
|
3353055b2a
use concurrent.Map for 1.8 support
|
7 vuotta sitten |
Tao Wen
|
455b3f8bb8
move reflect2 from plz to modern-go
|
7 vuotta sitten |
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 vuotta sitten |
Tao Wen
|
9472474ffd
test []byte behavior
|
7 vuotta sitten |
Tao Wen
|
ad83167dc6
fix #243 fuzzy decoder should take null as valid input
|
7 vuotta sitten |
Tao Wen
|
fff342fd04
gofmt
|
7 vuotta sitten |
Tao Wen
|
8d6662b81b
fix #242 add CreateMapKeyEncoder and CreateMapKeyDecoder to extension spi
|
7 vuotta sitten |
Tao Wen
|
a377e2656b
add map key example
|
7 vuotta sitten |
Tao Wen
|
0ac74bba4a
upgrade reflect2
|
7 vuotta sitten |
Tao Wen
|
ebe943a4a6
fix #241, support 32bit platform
|
7 vuotta sitten |
Tao Wen
|
414d0307c9
fix struct decoder report error
|
7 vuotta sitten |
Tao Wen
|
86e9fd72bc
update pkg
|
7 vuotta sitten |
Tao Wen
|
be70f29b04
detect remaining bytes
|
7 vuotta sitten |
Tao Wen
|
a3fdd37b9a
use sync.Pool
|
7 vuotta sitten |
Tao Wen
|
d346ea6e55
get encoder without get type first
|
7 vuotta sitten |
Tao Wen
|
820ec30bd6
get decoder without get type first
|
7 vuotta sitten |
Tao Wen
|
df8295a48a
fix 1.8
|
7 vuotta sitten |
Tao Wen
|
99fc16a363
use reflect2 to replace reflect
|
7 vuotta sitten |
Tao Wen
|
a3866383f5
support recursive struct
|
7 vuotta sitten |
Tao Wen
|
2fcbb23d96
rewrite how eface and iface are handled
|
7 vuotta sitten |
Tao Wen
|
ea6403326b
fix #239, empty slice
|
7 vuotta sitten |
Tao Wen
|
404d90796f
move type declaration into separate files
|
7 vuotta sitten |
Tao Wen
|
b79587753b
move any codec
|
7 vuotta sitten |
Tao Wen
|
63ea5e3131
move encoder/decoder of native
|
7 vuotta sitten |
Tao Wen
|
895a19f2dc
move json raw message
|
7 vuotta sitten |
Tao Wen
|
6327145300
move json number impl
|
7 vuotta sitten |