[SOLVED] Accessing JSON with bad character '$'

I am pulling JSON from an external API. I am able to pull the JSON file using getJSON and able to go multiple layers into the JSON, but every major attribute that I want to get has a field name of $t. Hugo doesn’t seem to like the dollar sign at all, and I’m not sure how to get around it. I’ve tried safeJS, safeHTML, etc., but nothing seems to work. I’ve googled around and haven’t been able to find anyone with a similar problem. Any help would be appreciated!

Upon more googling, I’ve discovered this github issue: https://github.com/kelseyhightower/confd/issues/509

Has anyone had any luck?

For those who stumble upon a similar problem to this, I was able to use the index function to get the value from the “$t” key.

Example: index .data “$t”