I am struggling to figure out how to convert the given JSON data into a JS 2D array directly from HTML.
[{"fields": {"diameter": 23.0, "neighbourhood": "WEST END"}, "model": "hug.tree", "pk": 345},
{"fields": {"diameter": 14.0, "neighbourhood": "MOUNT PLEASANT"}, "model": "hug.tree", "pk": 484}]
The desired output should resemble something like this:
[[23.0, 'WEST END'], [14.0, 'MOUNT PLEASANT']]
Your assistance in this matter would be greatly appreciated!