I'm using the ImportJSON library in Google Sheets to parse JSON files. I have come across a very weird looking JSON doc that I am unsure about how to parse it. The JSON doc looks like this:
{
"draw": 2,
"recordsTotal": "80129",
"recordsFiltered": "3988",
"data": [
[
"28/08/2020",
"US DOLLAR",
"108.2221",
"108.1224",
"108.3218"
],
[
"27/08/2020",
"US DOLLAR",
"108.1529",
"108.0529",
"108.2529"
]
]
}
I am interested in getting the 0th index under /data and the third item in that list (108.2221).
Using a query of /data/0 in the function returns #REF
How can this be achieved in Google Spreadsheets using this lib?
