Argentina is subdivided into 23 provinces and one city - am I doing this code right or wrong. Be easy I am only new learning basic parent child tree structures, if you know of any good links that would help me understand it would be great. Anyway here goes.
{
"divisions":{
"subArea":[
{
"provinces":{
"subArea":[
{
"name":"Buenos Aires",
"subCode":"AR-C"
},
{
"name":"Catamarca",
"subCode":"AR-B"
},
{
"name":"Chaco",
"subCode":"AR-H"
},
{
"name":"Chubut",
"subCode":"AR-U"
},
{
"name":"Córdoba",
"subCode":"AR-X"
},
{
"name":" Corrientes",
"subCode":"AR-W"
},
{
"name":" Entre Ríos",
"subCode":"AR-E"
},
{
"name":"Formosa",
"subCode":"AR-P"
},
{
"name":"Jujuy",
"subCode":"AR-Y"
},
{
"name":"La Pampa",
"subCode":"AR-L"
},
{
"name":"La Rioja",
"subCode":"AR-F"
},
{
"name":"Mendoza",
"subCode":"AR-M"
},
{
"name":"Misiones",
"subCode":"AR-N"
},
{
"name":"Neuquén",
"subCode":"AR-Q"
},
{
"name":"Río Negro",
"subCode":"AR-R"
},
{
"name":"Salta",
"subCode":"AR-A"
},
{
"name":"San Juan",
"subCode":"AR-J"
},
{
"name":" San Luis",
"subCode":"AR-D"
},
{
"name":"Santa Cruz",
"subCode":"AR-Z"
},
{
"name":"Santa Fe",
"subCode":"AR-S"
},
{
"name":"Santiago del Estero",
"subCode":"AR-G"
},
{
"name":"Tierra del Fuego",
"subCode":"AR-V"
},
{
"name":"Tucumán",
"subCode":"AR-T"
}
]
},
"city":{
"subArea":[
{
"name":"Ciudad Autónoma de Buenos Aires",
"subCode":"AR-C"
}
]
}
}
]
}
}