title: Cookie only sets when NOT using JSON.stringify
body: <p>I am creating cookies using <a href="https://plugins.jquery.com/cookie/" rel="nofollow noreferrer">jQuery cookie</a>, which are setting when I don't use <code>JSON.stringify</code> as in the following:</p>
  <pre><code>$.cookie(&quot;previousObject&quot;, savedObjs);
  </code></pre>
  <p>but which do not set when I use <code>JSON.stringify()</code>, as in the following:</p>
  <pre><code>$.cookie(&quot;previousStories&quot;, JSON.stringify(savedObjs));
  </code></pre>
  <p>I have also tried the following:</p>
  <pre><code>$.cookie.json = true;
  $.cookie(&quot;previousObject&quot;, savedObjs);
  </code></pre>
  <p>The cookie that should be being created logs to the console,but when I look under <code>resources</code> in the browser, there are no cookies there.</p>
  <p>How do I make these cookies work?</p>