Nested arrays of base types are converted incorrectly
grische opened this issue · comments
Grische commented
This json
{
"description": "this is an array of [][]int",
"nested-array": [
[
0,
1,
2
],
[
2,
3,
4
]
]
}
is converted to
type AutoGenerated struct {
Description string `json:"description"`
NestedArray []NestedArray[]int `json:"nested-array"`
}
but it should be
type AutoGenerated struct {
Description string `json:"description"`
NestedArray [][]int `json:"nested-array"``