title: Only return first 20 results of JSON data passed by $.ajax?
body: <p>I have the following simple jquery snippet</p>
  
  <pre><code>        $(document).ready(function () {
          $.ajax({
               url:"myjson.json",
               dataType: 'json',
               success:function(json){
                   $.each(json, function() {
                      alert("test");
                  });
               },
               error:function(){
               },
          });
      });
  </code></pre>
  
  <p>The result can return 1000's of results - i only want the first 20 for example. How would i best do this?</p>