[BUG]多维数组转换错误
Opened this issue · 0 comments
lhlyu commented
Original Data
{
"a": 123,
"b": "xxx",
"c": [
[
1,
2,
3
],
[
1,
null,
3
]
]
}
Result
type RootObject struct {
A int `json:"a"`
B string `json:"b"`
C []interface{} `json:"c"`
}
Expect
type RootObject struct {
A int `json:"a"`
B string `json:"b"`
C [][]interface{} `json:"c"`
}