How to load JSON multidimensional arrays and set them in a table

Hi, I’m trying to get data from a JSON array that is outputted from a sensor, but I’m struggling to parse the data into easy columns and rows.

this is a sample of the data output

[[1643935200000,1],[1643941200000,1],[1643954400000,1],[1643955600000,1],[1643955900000,1],[1643957400000,2],[1643958000000,2],[1643958900000,2],[1643959500000,1],[1643960100000,1],[1643961000000,1],[1643961300000,2],[1643961300000,1]]

is it possible to load the JSON array into a table to make it easier to deal with within Processing?

I’m a newbie to processing and java, but any help would be much appreciated.

1 Like