title: Store objects in local storage javascript
body: <p>I need to save some data being returned from WS call in local storage given certain conditions.  I know how to save the string keys, but I need to store quite a bit of data related to records.</p>
  
  <p>How do I set to local storage as array of objects? For example: </p>
  
  <pre><code>{ID  : "1",  name: "john"}, 
  {ID  : "2",  name: "dohn"}, 
  ...
  </code></pre>