title: Setting application/json as the data during the dragstart in HTML5 DND
body: <p>I observed the setting the JSON data in HTML5DND will be converted into string. Are there any alternatives and best practices for passing JSON Data other than stringifying.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>// During drag enter
  event.dataTransfer.setData('application/json', {
    id: 1
  });
  
  
  // During Drop data is printing as object
  let data = event.dataTransfer.getData('application/json');
  // printing [object Object]</code></pre>
  </div>
  </div>
  </p>