I have a json file with contents like this:
{ \"aaa\":{ \"status\":\"available\", \"classkey\":\"dotnet\" }, \"bbb\":{
Actually you can use int index like an array in JSON, just try that:
int
var jsonObject = { "0":{ "status":"available", "classkey":"dotnet" }, "1":{ "ccc":{ "com":"available", "net":"available", "info":"available", "org":"available" } } } alert(jsonObject[0].status)