title: jQuery.post() Using serialized form data, and custom object in submission
body: <p>When doing ajax stuff with jQuery you can pass your data along to the server in two key ways:</p>
  
  <ol>
  <li><p>Use an object like </p>
  
  <pre><code>{
   firstname:'blah',
   lastname: 'derp'
  }
  </code></pre></li>
  <li><p>Use a string like <code>&amp;firstname=blah&amp;lastname=derp</code></p></li>
  </ol>
  
  <p>(1) Arises naturally when you're passing in values programmatically.</p>
  
  <p>(2) Arises naturally when you've got input fields.</p>
  
  <p>My problem: it doesn't look like you can combine them, i.e.</p>
  
  <pre><code>jQuery.extend({
   firstname:'blah',
   lastname:'derp'
  },jQuery('form.some-form').serialize());
  </code></pre>
  
  <p>And it's been nagging me for a while.</p>
  
  <p>Truthfully I think they just need an objectified version of the serialize method that just gives you a json representation.</p>