I have a JsonObject that contains a JsonArray of arrays. I would like to parse it using Gson. The following is what the data looks like. I can use JsonArray data = resourceObj.get("data").getAsJsonArray() to get the outer array, but I m not sure how to access the inner array. My understanding is that to get something as a JsonArray it has to be in the form "xyz": [ something] or "xyz"=[something]
{
"sid": "123456",
"data": [
[
1595808000,
0
],
[
1595894400,
0
],
[
1595980800,
0.0829
],
[
1596067200,
0.0047
]
],
}