title: Unable to use dot syntax for ruby hash
body: <p>I'm using <code>net/http</code> to pull in some json data from the Yahoo Placemaker API. After receiving the response I am performing <code>JSON.parse</code> on the response. This gives me a hash that looks like:</p>
  
  <pre><code>{"processingTime"=&gt;"0.001493", "version"=&gt;"1.4.0.526 build 111113", "documentLength"=&gt;"25", "document"=&gt;{"administrativeScope"=&gt;{"woeId"=&gt;"2503863", "type"=&gt;"Town", "name"=&gt;"Tampa, FL, US", "centroid"=&gt;{"latitude"=&gt;"27.9465", "longitude"=&gt;"-82.4593"}}, "geographicScope"=&gt;{"woeId"=&gt;"2503863", "type"=&gt;"Town", "name"=&gt;"Tampa, FL, US", "centroid"=&gt;{"latitude"=&gt;"27.9465", "longitude"=&gt;"-82.4593"}}, "localScopes"=&gt;{"localScope"=&gt;{"woeId"=&gt;"2503863", "type"=&gt;"Town", "name"=&gt;"Tampa, FL, US (Town)", "centroid"=&gt;{"latitude"=&gt;"27.9465", "longitude"=&gt;"-82.4593"}, "southWest"=&gt;{"latitude"=&gt;"27.8132", "longitude"=&gt;"-82.6489"}, "northEast"=&gt;{"latitude"=&gt;"28.1714", "longitude"=&gt;"-82.2539"}, "ancestors"=&gt;[{"ancestor"=&gt;{"woeId"=&gt;"12587831", "type"=&gt;"County", "name"=&gt;"Hillsborough"}}, {"ancestor"=&gt;{"woeId"=&gt;"2347568", "type"=&gt;"State", "name"=&gt;"Florida"}}, {"ancestor"=&gt;{"woeId"=&gt;"23424977", "type"=&gt;"Country", "name"=&gt;"United States"}}]}}, "extents"=&gt;{"center"=&gt;{"latitude"=&gt;"27.9465", "longitude"=&gt;"-82.4593"}, "southWest"=&gt;{"latitude"=&gt;"27.8132", "longitude"=&gt;"-82.6489"}, "northEast"=&gt;{"latitude"=&gt;"28.1714", "longitude"=&gt;"-82.2539"}}, "placeDetails"=&gt;{"placeId"=&gt;"1", "place"=&gt;{"woeId"=&gt;"2503863", "type"=&gt;"Town", "name"=&gt;"Tampa, FL, US", "centroid"=&gt;{"latitude"=&gt;"27.9465", "longitude"=&gt;"-82.4593"}}, "placeReferenceIds"=&gt;"1", "matchType"=&gt;"0", "weight"=&gt;"1", "confidence"=&gt;"8"}, "referenceList"=&gt;{"reference"=&gt;{"woeIds"=&gt;"2503863", "placeReferenceId"=&gt;"1", "placeIds"=&gt;"1", "start"=&gt;"15", "end"=&gt;"20", "isPlaintextMarker"=&gt;"1", "text"=&gt;"Tampa", "type"=&gt;"plaintext", "xpath"=&gt;""}}}}
  </code></pre>
  
  <p>I am able to access elements by doing things like <code>jsonResponse['version']</code> but I am not able to do <code>jsonResponse.version</code>. Why is this?</p>