Hey Qt-centre members
I've tried the last 3 hours getting a external Json file loading in my QML / Javascript logic.
var vocabulary ={"test" : ["deutsch","grund","yo","tú","el/ella","nosotros","vosotros","ustedes"],}
...
console.log(vocabulary.test[0])
var vocabulary ={"test" : ["deutsch","grund","yo","tú","el/ella","nosotros","vosotros","ustedes"],}
...
console.log(vocabulary.test[0])
To copy to clipboard, switch view to plain text mode
This works quite well but is there a way to store the Json data in a separate file?
thanks
Eli
Bookmarks