I am grappling with a JSON object notation that looks like this:
[{"getCname('mail.fred.com.au')":[{"cname":"www.fred.com.au"}]}]
I am struggling to extract only the "cname
" value in JavaScript, specifically I just want:
"www.fred.com.au"
My attempt at res[0].cname
didn't yield the desired outcome.