Yes, it&#x27;s pain! Unless you have the struct ready for unmarshalling json.  I use gojson [<a href="https:&#x2F;&#x2F;github.com&#x2F;ChimeraCoder&#x2F;gojson" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ChimeraCoder&#x2F;gojson</a>], it auto generates struct from json with a simple command.<p>curl -s <a href="https:&#x2F;&#x2F;api.github.com&#x2F;repos&#x2F;chimeracoder&#x2F;gojson" rel="nofollow">https:&#x2F;&#x2F;api.github.com&#x2F;repos&#x2F;chimeracoder&#x2F;gojson</a> | gojson -name=Repository