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

182
Views
How to render data nested object from json (external api) with handlebars

If i want to render it (this data json return for one company)

 {
  "symbol": "BAC",
  "companyName": "Bank Of America Corp.",
  "primaryExchange": "NEW YORK STOCK EXCHANGE, INC.",
  "calculationPrice": "close",
  "open": 28.81,
  "openTime": 1607437801023,
  "openSource": "official",
  "close": 28.81,
  "closeTime": 1607461201852,
  "closeSource": "official",
  "high": 29.12,

}

I can access data above like this with handlebars. (It's work !)

<h4>LatestPrice <span class="badge bg-secondary">  {{stock.open}}    </span></h4>
<h4>PreviousClose <span class="badge bg-secondary">  {{ stock.close}}    </span></h4>
<h4>ChangePercent <span class="badge bg-secondary">  {{  stock.closeTime}}     </span></h4>

And my question

If i want to access specific propeties in nested object data below, such as i want to access stock.avgTotalVolume (for AMC Entertainment) How can i do that with handlebars ?



[
 {
  avgTotalVolume: 96209223,
  calculationPrice: 'tops',
  companyName: 'AMC Entertainment Holdings Inc - Class A'
  
 } ,
 {
  avgTotalVolume: 81507563,
  calculationPrice: 'tops',
  companyName: 'Apple Inc',
  
 } ,
 {
  avgTotalVolume: 4160539,
  calculationPrice: 'tops',
  companyName: 'Helbiz Inc.',
 
 } ,
 {
  avgTotalVolume: 60408227,
  calculationPrice: 'tops',
  companyName: 'Ford Motor Co.',
 } ,
]
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!