title: How to JSON.stringify a dom element?
body: <p>As title , how to JSON.stringify a dom element, and change back the json to a dom element.</p>
  
  <p>Any one know how to do , thanks.</p>
  
  <pre><code>Here is the code :
  var container = document.querySelectorAll('.container')
   var json=JSON.stringify(container)
   {"0":{},"1":{},"2":{},"3":{}}"//result
  
    expected result:
    {"tagname":"div","class":"container","value":"test","childelement":[...]}
  </code></pre>