How can I parse this JSON result :
{
"Output": [
{
"LGA11aAust.DistanceToBorder": "2587.4",
"LGA11aAust.LGA_NAME": "Hume (C)",
"SustainabilityVicZones.DistanceToBorder": "2575.6",
"SustainabilityVicZones.REBATEZN": "Metropolitan Melbourne",
"LGA11aAust.Status": "T",
"SustainabilityVicZones.Status": "T",
"Status": "T",
"Status.Code": "",
"Status.Description": "",
"user_fields": []
}
]
}
I am aware of JSON.parse
method but with that I cannot access the values of the keys as they have a .
in them.
E.g.: I cannot use Output[0].Status.Code
as it does not treat Status.Code
as a whole, it thinks that the Code
is under the Status
field.
Please help.