In my Android App, I desgin the following json data construction, the json data will be read, added, updated and deleted node in the future.
I think I should store the json data, how can I persist the json data? do I have to save it as text file under the folder \assets ?
And more, is there a simple way to handle json data ? do I need use Gson library?
{
"Setting": [
{
"id": "34345",
"Bluetooth": { "Status": "ON" },
"WiFi": { "Name": "MyConnect", "Status": "OFF" }
}
,
{
"id": "16454",
"Bluetooth": { "Status": "OFF" }
}
]
}