Am calling an api which is returning below mentioned json.
{
"salarySlipItems" : {
"\"0\"" : {
"value" : "11000.00",
"description" : "Worth Salary",
"sort" : "1"
},
"\"2\"" : {
"value" : "500.00",
"description" : "Other Income",
"sort" : "3"
},
"\"3\"" : {
"value" : "1354.84",
"description" : "General Allowance",
"sort" : "4"
},
"\"4\"" : {
"value" : "500.00",
"description" : "Telephone Allowance",
"sort" : "5"
},
"\"7\"" : {
"value" : "-2000.00",
"description" : "Other Deductions",
"sort" : "8"
}
},
"decimalDigits" : "2",
"status" : "1"
}
can any body guide me how can i parse that in c# asp.net? What i believe is salarySlipItems is a object having all properties. what are \"0\ \"2\ and so on..?