Now I get a json file with data in this format:
[
[
"name1",
"age1",
"gender1",
url1
],
[
"name2",
"age2",
"gender2",
url2
],
...
]
Now I want to parse it and store them in my database by using Gson, but I don't know how to write the code to do it.
The list may contains about 200,000 small lists, so I don't know if it will take a lot of memory if I just use gson.fromJson() to get the whole json list. Is there a dynamic method to parse each small list in it?