title: Appending an object to serialized form data
body: <p>So I have an object that looks like this, lets say it's called <code>obj</code>:</p>
  
  <pre><code>var obj = [{
      "cella": "test1",
      "cellb": "test2 ",
      "cell3": "test3"
  }]
  </code></pre>
  
  <p>Now I want to POST this along with serialized form data to a PHP controller using AJAX. The problem I'm encountering is how to actually pass the data. I have tried:</p>
  
  <pre><code>{
      "json object": obj
  }
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>data: "json object=" + obj + $("#form").serialize(), 
  </code></pre>
  
  <p>However I'm unable to post over both the form data and object in the correct format. Should I be looking to add the form data to the object?</p>