I am trying to structure my project more and clean up my code but i cannot find anything about loading .json files in handelbars.js
How it is currently structured - adding data inline to JSONparse
{{#c 'slider' slides=(JSONparse '[data:{id:1,"title":"test"]')}}{{/c}}
But i actually want to save that data in a separate file so it looks much cleaner and is easier to read:
{{#c 'slider' slides=(JSONparse '../data/dummydata.json')}}{{/c}}
How do i do that?