I have scraped this object using puppeteer but it contains more information than I actually need. How do I access "height" within "components"? I have been googling for a while and have not found a solution that works.
{
"components": [{
"height": "1.8",
"period": 11,
"trueDirection": 139,
"compassDirection": "SE"
}, {
"height": "5.5",
"period": 8,
"trueDirection": 72,
"compassDirection": "ENE"
}, {
"height": "1",
"period": 13,
"trueDirection": 207,
"compassDirection": "SSW"
}],
"unit": "ft",
"title": "2-3<small class=\"unit\">ft</small>\n",
"fadedRating": 0,
"solidRating": 1,
"time": "Noon",
"date": "Thu 14/02",
"isBigWave": false
}