For following JSON
{
"Jon": {
"Age": 15
},
"Mary": {
"Age": 17
}
}
how can i map it into golang struct, normally, the structure will be
type Person struct {
Name string `json:??,string`
Age int `json:Age, int`
}
as the json field name is the attribute of struct, thank you in advance.