Hello,
I’m reading a JSON file with
{{ range $item := getJSON "data/references.json" }}
but I have got some keys with - e.g.
[
{ "id" : "mykey", "container-title" : "a container name" }
]
I can get access of the values by
$item.id
but not with
$item.container-title
$item.(container-title)
$item."container-title"
How can I get access to a key with a minus within the key name?
Thanks
Phil