Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

288
Views
How do i parse a json file in handlebars.js

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?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!