title: Json ajax with parameter passing
body: <pre><code>function BindJson() {
          $.ajax({
              type: "POST",
              url: "NewPage.aspx/SerializeJson",
              data: "{}",
              contentType: "application/json",
              dataType: "json",
              success: function (data1) {
                  alert(data1);
              }
          })
      }
      [WebMethod]
          public static string SerializeJson()
          {
              JavaScriptSerializer js = new JavaScriptSerializer();
              //Person p2 = js.Deserialize&lt;Person&gt;(str);
              return "";
          }
  </code></pre>
  
  <p>How do I pass parameters as data to my serializeJson function?</p>