title: how deserialize a json in rails
body: <p>I send a http request and get a json for response like below:</p>
  
  <pre><code>{"total":"1200.0","used":"35.0","available":1165.0}
  </code></pre>
  
  <p>now I want deserialize this json and show to user in a table like below:</p>
  
  <pre><code>total : 1200
  
  used : 35
  
  availabele : 1165
  </code></pre>
  
  <p>I use <code>JSON.parse(response)</code>,but I get below error:</p>
  
  <pre><code>no implicit conversion of Net::HTTPOK into String
  </code></pre>
  
  <p>How can I do this?</p>