title: jQuery fails to send arrays as JSON content type
body: <p>I'm using a script that looks like this:</p>
  
  <pre><code>$.ajax({
      url: 'myservice',
      type: 'POST',
      contentType: 'application/json',
      data: ["test"],
  });
  </code></pre>
  
  <p>However this causes a request to <code>myservice/?undefined=undefined</code> which probably indicates that jQuery is assuming data to be a map. Is there any way around this? Is there a way to serialize data manually (preferably without resorting to any 3rd party libraries)?</p>
  
  <p>I tested my service manually and it works correctly with the data like <code>["test"]</code>.</p>
  
  <p>EDIT: A bug concerning request method.</p>
  
  <p>EDIT(2): Interesting, now it causes <code>400 Bad request</code>. However if I switch to <code>'["test"]'</code> (a string) it works. I use jQuery 1.5.2.</p>