As a complete newcomer to the world of JavaScript, I find myself struggling with some issues regarding JSON manipulation. This is my very first attempt at working with it, and I am encountering difficulties in converting my JSON string into an object that can be easily managed within my code. Despite using JSON.parse on my string, my code simply refuses to progress beyond this particular line. Using alerts as a form of debugging tool, I have determined that the code never moves past this instruction:
var toPass = JSON.parse(liveJSON)
The structure of my JSON data is as follows:
{"request_list": [ {"ip": "10.3.1.12","rtt": 0,"protocol": "NAS","time_asserted": 1428382468,"time_executed": 1428382410}, {"ip": "192.168.0.18","rtt": 1,"protocol": "NAS","time_asserted": 1428382468,"time_executed": 1428382410}, ... ]}