Get in an array external json

Hello I have an external json and I would like to have access to “year” stored in an array named “data”.

{{ $externalurl := getJSON “” }}

    {{ range $}}
  • {{ .year }}
  • {{ end }}

This is not working :confused: Where and how should I put “data” ?


Hi there,

I’ve merged your two posts here. Please read Requesting Help and follow the recommendations there.