I\'ve looked through multiple examples on here but can\'t seem to find one that works for the data I have.
$result comes from the API I am using.
$decoded