So my website has received some data in the form of a PHP
associative array (see below) and I'm trying to convert it to something I can interact with using JavaScript.
JavaScript seems to treat it as just a string and I've had problems using JSON.parse
. I have control over the format of this data before it arrives at my JS do I need to restructure it??
Extra Info: Web page A requests data from web page B then web page B collects the data from a database and returns a big array. The array above is the response from web page B in web page A. Each index (["tag"],["current_ids"]
etc) actually have large array contained in them, I just shortened it to 1 for ease of understanding.