Go Http
GO HTTP handy cheats
Unmarshal JSON into a struct
Mapping json data directly into a defined struct
Unmarshal JSON into a map
If the structure of the response resource is unknown or doesn't map to a defined struct, a map[string]any can be used as a catch all.
Use a json decoder
Decoders accept a io.Reader, allowing data to be streamed which is better for large data sets. The Response body is an io.Reader already.