title: Objects in array display as [object Object]
body: <p>I'm trying to save an <code>array</code> which includes a <code>object</code> to a <code>hidden field</code> in a <code>form</code>. When I do so, the <code>object</code> doesn't show up, but is display like "[object Object]" instead.</p>
  
  <pre><code>arrayObject = [
      "something",
      { objectKey: "something else", otherObjectKey: "totally different" },
      "quite similar"
  ];
  
  $("input").val(arrayObject);
  </code></pre>
  
  <p><br>
  <strong>This outputs</strong></p>
  
  <blockquote>
    <p>"something,[object Object],quite similar"</p>
  </blockquote>
  
  <p>What can I do different?</p>