What should be the easiest way to persist JSON array ?
const appSettings = require("application-settings"); appSettings.setString("myArray", JSON.stringify(myArray));
And to get it back
myArray = JSON.parse(appSettings.getString("myArray" , "")); //second param is default value
You can read more about it here
Wooow. I didn’t even think for a second about this. Thank you