Closed dinukapj closed 2 years ago
Thanks
Use JSON.parse to convert to object.
https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse
var test = JSON.parse(YOUR_STRING_TEXT);
Thanks
Use JSON.parse to convert to object.
https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse
var test = JSON.parse(YOUR_STRING_TEXT);
Thank you very much! That worked. I'll close this issue.
Love the library. I have an issue with the import, however. My Exported JSON looks like this:
When I try to run the app, it ends up with this message:
But if I remove the quotation marks from the sample JSON, it works:
However, since I'm trying to load the JSON from a file on the computer (from a file selector), the output format will most likely be in string format. How can I resolve this?