title: how to safely use JSON.stringify
body: <p>I get a JSON object, which I then stringify to var embed. The console.log looks like: </p>
  
  <pre><code>console.log(send_me_along)
  
  {"provider_url":"https://www.site.com/","description":"Stuff, youâ€™ll need to blah blah","title":"Person detail view &amp; engagement","url":"https://www.site.com/","version":"1.0","provider_name":"site","type":"link"}
  </code></pre>
  
  <p>Then in ajax beforeSend I try to pass this along:</p>
  
  <pre><code>settings.data += '&amp;embed_data=' + send_me_along;
  </code></pre>
  
  <p>This is where it breaks. I don't know why. Do you? Something send_me_along breaks and the JSON object never makes it to rails.</p>
  
  <pre><code>Started POST "/st" for 127.0.0.1 at 2012-01-12 17:20:25 -0800
  Parameters: {"utf8"=&gt;"✓", "authenticity_token"=&gt;"MzDImoksi56IZ1Fa4ldM8jaFyBy61xaWt4bf3z0/3UQ=", "comment"=&gt;{"content"=&gt;"https://www.site.com", "mentions"=&gt;"https://www.site.com"}, "commit"=&gt;"", "embed_data"=&gt;"{\"provider_url\":\"https://www.site.com/\",\"description\":\"Stuff, youâ€™ll need to blah blah.\",\"title\":\"Person detail view ", "engagement\",\"url\":\"https://www.site.com/\",\"version\":\"1.0\",\"provider_name\":\"site\",\"type\":\"link\"}"=&gt;nil, "id"=&gt;"ae86c5b7a6"}
  </code></pre>
  
  <p>It appears as if the &amp; in the title is messing up on the post. is there something that needs to be done w jQuery when using settings.data to not allow the stringified data to break everything?</p>
  
  <p>Thanks</p>