I have a JSON string of the below format; I want to access it's properties through javascript.
{
"Deductions": {
"Fix": [
{
"Amount": "5000.00",
"AmountRaw": 5000,
"Type": "Utilities Allowance Dedctn -(D)"
}
],
"Variable": []
},
"Earning": {
"Fix": [
{
"Amount": "123546.00",
"AmountRaw": 123546,
"Type": "Basic -(E)"
},
{
"Amount": "123546.00",
"AmountRaw": 123546,
"Type": "House Rent Allowance"
},
{
"Amount": "123546.00",
"AmountRaw": 123546,
"Type": "Trasport Allowance"
}
],
"Variable": [
{
"Amount": "10000.00",
"AmountRaw": 10000,
"Type": "Expense Reimbursement"
}
]
}
}