Hey Qt-centre members

I've tried the last 3 hours getting a external Json file loading in my QML / Javascript logic.

Qt Code:
  1. var vocabulary ={"test" : ["deutsch","grund","yo","tú","el/ella","nosotros","vosotros","ustedes"],}
  2. ...
  3. 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