I have a JSON file look like:
[[10,5,0,...,1,8], [3,6,3,...,6,3], [15,7,2,...,1,1], [8,7,4,...,8,3], [...], [6,11,0,...,5,1]]
nXm matrix. (n and m is unknown).
I want to manipulate(do calculation) on Java. I was thinking to read/input it into 2D array in Java. Do I treat JSON file same as text file using BufferReader or is there a easier way to read/manipulate it on Java? How should I create 2d array with unknown size?
Thank you