title: How to convert Json object to Jquery Array?
body: <p>I am getting Year and 'NoOfOrders' from a Web Method through ajax call. 
  I want to convert Json object to array so that I can plot using jqbargraph.     </p>
  
  <pre><code>$(document).ready(function () {
      var myArray = [];
      $("[id$=btnSubmit]").click(function () {
          $.ajax({
              type: "POST",
              url: "Charts.aspx/GetOrderCount",
              data: "{}",
              contentType: "application/json; charset=utf-8",
              dataType: "json",
              success: function (data) {
                  var OrdersInfo = data.d;
                  $.each(OrdersInfo, function (index, order) {
                      myArray.push(order.OrderYear, order.OrderCount);
                  });
              }
          });
          $('#divChart').jqbargraph({
              data: myArray,
              position: 'bottom',
              animate: false
          });
      });
  });
  </code></pre>