I am trying to figure out how to deserialize the JSON string provided below into a two-dimensional array object using JavaScript. Whenever I attempt to use JSON.parse
or eval
, it ends up getting converted into a string format. Currently, I am utilizing Douglas Crockford's JSON library for this task.
[["Apples", "21529", "22457"], ["Apricots", "12547", "12559"]]