title: ASP.NET+jQuery, how to deSerialize JSON?
body: <p>I want to deserialize the JSON string below, using jQuery each function,
  but the item is undefined.</p>
  
  <p>there is the code below, but, in case I am using asp.net 2.0 + web service and fill the DataTable and pass to System.Web.Script.Serialization.JavaScriptSerializer class and return these JSON string.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;script type="text/javascript" src="js/jquery-1.3.2.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          $(document).ready(function () {
              var $strJson = '[';
              $strJson += '{"Code":"a","Name":"Sam","Country":"US"},';
              $strJson += '{"Code":"b","Name":"John","Country":"CN"},';
              $strJson += '{"Code":"c","Name":"Mary","Country":"TW"}';
              $strJson += ']';
              $.each($strJson, function (key, item) {
                  alert(item);
                  if (key == 0) return false; //Prevent infinity loop
              });
          });
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>