how can i extract 2 values from a text string?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/401756/parsing-json-using-json-net">Parsing JSON using Json.net</a>  </p>
</blockquote>



<p>I want to pull two values from this test string and save then as their own strings, the values I want our the first and second values in the following piece of text, the values for distance and duration, they are 178331, and 7761.  The string I want to pull them from is as follows.</p>

<pre><code>{
   "destination_addresses" : [ "1508-1520 38th Ave, Oakland, CA 94601, USA" ],
   "origin_addresses" : [ "800-828 Mountain Ranch Rd, San Andreas, CA 95249, USA" ],
   "rows" : [
      {
         "elements" : [
            {
               "distance" : {
                  "text" : "111 mi",
                  "value" : 178331
               },
               "duration" : {
                  "text" : "2 hours 9 mins",
                  "value" : 7761
               },
               "status" : "OK"
            }
         ]
      }
   ],
   "status" : "OK"
}
</code></pre>
