title: Sending JSON collection to ASMX webservice
body: <p><strong>I have this class</strong> :</p>
  
  <pre><code>public class DesignElements
  {
      public List&lt;DesignElement&gt; Elements;
      public bool Front { set; get; }
      public string ThemeID { set; get; }
  
  
      public DesignElements()
      {
         Elements = new List&lt;DesignElement&gt;();
      }
  }
  </code></pre>
  
  <p>result of serializing this class to page is :</p>
  
  <pre><code>var json=
           {
              "Elements":
                 [
                  {"Alignment":null,"Bold":false},
                  {"Alignment":null,"Bold":false}
                 ],
                 "Front":true,
                  "ThemeID":"9"
          };
  </code></pre>
  
  <p>problem is sending this json in page to web-service with jQuery </p>
  
  <ol>
  <li><p>should I use the <code>JSON.stringify</code> method and sent it as as string ? if yes what is the name of argument in web-service  ? </p></li>
  <li><p>can I send json as <code>DesignElements</code> object to web-service. if yes what is the name of Argument in web-service ?</p></li>
  </ol>