I am developing an app that stores user's inputs in a database and I am wondering about the best way to handle it. I want the info to be retained when the app closes and also when the app gets updates. The shared preferences feature does not seem like a good idea because the data is more complex (like a JSON file with multiple levels). Is it safe to simply store the JSON data as a .txt file in internal storage? (i.e. safe from loss...I'm not worried about security). Here is an example of the JSON data I want to save:

`{
 "Altimeter": "3015", 
 "Cloud-List": [
 [
 "FEW", 
 "025"
 ], 
 [
 "SCT", 
 "055"
 ], 
 [
 "SCT", 
 "200"
 ], 
 [
 "BKN", 
 "250"
 ]
 ], 
 "Dewpoint": "21", 
 "Flight-Rules": "VFR", 
 "Meta": {
 "Cache-Timestamp": "Sun, 26 Aug 2018 16:07:47 GMT", 
 "Timestamp": "Sun, 26 Aug 2018 16:07:52 GMT"
 }, 
 "Other-List": [], 
 "Raw-Report": "KJFK 261551Z 20009KT 10SM FEW025 SCT055 SCT200 BKN250 26/21 A3015 RMK AO2 SLP210 T02560206", 
 "Remarks": "RMK AO2 SLP210 T02560206", 
 "Remarks-Info": {
 "Dew-Decimal": "20.6", 
 "Temp-Decimal": "25.6"
 }, 
 "Runway-Vis-List": [], 
 "Station": "KJFK", 
 "Temperature": "26", 
 "Time": "261551Z", 
 "Units": {
 "Altimeter": "inHg", 
 "Altitude": "ft", 
 "Temperature": "C", 
 "Visibility": "sm", 
 "Wind-Speed": "kt"
 }, 
 "Visibility": "10", 
 "Wind-Direction": "200", 
 "Wind-Gust": "", 
 "Wind-Speed": "09", 
 "Wind-Variable-Dir": []
}`