Anyone with experience in formating an json to have info about an Map<string,Arrary<Array>>
I made this but dont know if is correct:
item.json
{
"dic":
[
{
"name": "posion",
"map": [
[0,0,6,6,6,6,0,0],
[0,0,0,6,6,0,0,0],
[0,0,6,9,9,6,0,0],
[0,6,9,9,9,9,6,0],
[0,6,9,9,9,9,6,0],
[0,6,9,9,9,9,6,0],
[0,0,6,9,9,6,0,0],
[0,0,0,6,6,0,0,0]
]
}
]
}
And it typedef is:
typedef ItemFormat =
{
var dic:Map<String,Array<Array<Int>>>;
}