title: JSON single value parsing
body: <p>In python you can take a json object and grab a specific item from it without declaring a struct, saving to a struct then obtaining the value like in Go. Is there a package or easier way to store a specific value from json in Go?</p>
  
  <p>python</p>
  
  <pre><code>res = res.json()
  return res['results'][0] 
  </code></pre>
  
  <p>Go</p>
  
  <pre><code>type Quotes struct {
  AskPrice string `json:"ask_price"`
  }
  
  quote := new(Quotes)
  errJson := json.Unmarshal(content, &amp;quote)
  if errJson != nil {
      return "nil", fmt.Errorf("cannot read json body: %v", errJson)
  }
  </code></pre>