var apiresponse = {"response":
{"result":
{"Contacts":
{"row":
{"no":"1",
"FL":
[
{"val":"Name","content":"Billy"},
{"val":"Age","content":"17"},
]
}
}
},
"uri":"/crm/private/json/Contacts/getRecordById"
}
}
//stringify it at first
var jsonstring = JSON.stringify(apiresponse);
//then parse the jsonstring
var jsonparsed = JSON.parse(jsonstring);