title: Is there a way to extract JSON from an http response without having to build structs?
body: <p>All of the ways I'm seeing involve building structs and unmarshalling the data into the struct. But what if I'm getting JSON responses with hundreds of fields? I don't want to have to create 100 field structs just to be able to get to the data I want. Coming from a Java background there are easy ways to simply get the http response as a string and then pass the JSON string into a JSON object that allows for easy traversal. It's very painless. Is there anything like this in Go?</p>
  
  <p>Java example in pseudo code:</p>
  
  
  
  <pre><code>String json = httpResponse.getBody();
  JsonObject object = new JsonObject(json); 
  object.get("desiredKey");
  </code></pre>