You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-12-20 23:30:38 +02:00
suport encode map[interface{}]interface{}
This commit is contained in:
@@ -6,7 +6,7 @@ func init() {
|
||||
[]interface{}{"hello"},
|
||||
nilSlice,
|
||||
&nilSlice,
|
||||
selectedMarshalCase{[]byte{1,2,3}},
|
||||
[]byte{1, 2, 3},
|
||||
)
|
||||
unmarshalCases = append(unmarshalCases, unmarshalCase{
|
||||
ptr: (*[]string)(nil),
|
||||
@@ -20,6 +20,5 @@ func init() {
|
||||
}, unmarshalCase{
|
||||
ptr: (*[]byte)(nil),
|
||||
input: `"aGVsbG8="`,
|
||||
selected: true,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user