title: How to parse JSON response in Ruby
body: <p>The end goal for this is to be part of a chatbot that returns an airport's weather. </p>
  
  <p>Using import.io, I built an endpoint to query the weather service I'd which provides this response:</p>
  
  <pre><code>{"extractorData"=&gt;
    {"url"=&gt;
      "https://www.aviationweather.gov/metar/data?ids=kokb&amp;format=decoded&amp;hours=0&amp;taf=off&amp;layout=on&amp;date=0",
     "resourceId"=&gt;"66ca907842aabb6b08b8bc12049ad533",
     "data"=&gt;
      [{"group"=&gt;
         [{"Timestamp"=&gt;[{"text"=&gt;"Data at: 2135 UTC 12 Dec 2016"}],
           "Airport"=&gt;[{"text"=&gt;"KOKB (Oceanside Muni, CA, US)"}],
           "FullText"=&gt;
            [{"text"=&gt;
               "KOKB 122052Z AUTO 24008KT 10SM CLR 18/13 A3006 RMK AO2 SLP179 T01780133 58021"}],
           "Temperature"=&gt;[{"text"=&gt;"17.8°C ( 64°F)"}],
           "Dewpoint"=&gt;[{"text"=&gt;"13.3°C ( 56°F) [RH = 75%]"}],
           "Pressure"=&gt;
            [{"text"=&gt;
               "30.06 inches Hg (1018.0 mb) [Sea level pressure: 1017.9 mb]"}],
           "Winds"=&gt;
            [{"text"=&gt;"from the WSW (240 degrees) at 9 MPH (8 knots; 4.1 m/s)"}],
           "Visibility"=&gt;[{"text"=&gt;"10 or more sm (16+ km)"}],
           "Ceiling"=&gt;[{"text"=&gt;"at least 12,000 feet AGL"}],
           "Clouds"=&gt;[{"text"=&gt;"sky clear below 12,000 feet AGL"}]}]}]},
   "pageData"=&gt;
    {"resourceId"=&gt;"66ca907842aabb6b08b8bc12049ad533",
     "statusCode"=&gt;200,
     "timestamp"=&gt;1481578559306},
   "url"=&gt;
    "https://www.aviationweather.gov/metar/data?ids=kokb&amp;format=decoded&amp;hours=0&amp;taf=off&amp;layout=on&amp;date=0",
   "runtimeConfigId"=&gt;"2ddb288f-9e57-4b58-a690-1cd409f9edd3",
   "timestamp"=&gt;1481579246454,
   "sequenceNumber"=&gt;-1}
  </code></pre>
  
  <p>I seem to be running into two issues. How do I:</p>
  
  <ol>
  <li>pull each field and write it into its own variable </li>
  <li>ignore the "text" modifier in the response. </li>
  </ol>