I am going some HTTP gets and the response body is this structure:
response.body = "{\"temp\": \"val_one\", \"temp2\": \"val_two\"}"
How do I convert this to a Hash, I want to do this:
response.body.to_hash
response.body["temp"] # => val_one
Thanks
edit:
Fixed temp's value. Changed from val_one to \"val_one\"