title: Disallowed Key Characters ajax response
body: <p>I am creating a JSON object dynamically and when I send it via an ajax POST I get Disallowed Key Characters as the response. I know that my object is ok because I can create the SAME EXACT object manually and it sends fine. I tried <code>escape()</code> on all of my strings before adding them to the obj but that did not work either.</p>
  
  <p>Am I missing something?</p>
  
  <p>This is my post</p>
  
  <pre><code>$.ajax({
      type: 'POST',
  
      url: 'http://localhost/test',
      data: obj,
      dataType : 'JSON',
      success: function(){
          console.log('nice');
      }
  });
  </code></pre>
  
  <p>I am using the same obj as in this post </p>
  
  <p><a href="https://stackoverflow.com/questions/3580260/add-to-json-without-knowing-its-structure">Add to JSON without knowing its structure</a></p>