title: How can I serialize an input File object to JSON?
body: <p>I want to convert an HTML input file to a JSON string like this:</p>
  <pre><code>var jsonString = JSON.stringify(file);
  console.log( file );
  console.log( jsonString );
  </code></pre>
  <p>Now, in my Firebug it logs as:</p>
  <pre><code>File { size=360195, type=&quot;image/jpeg&quot;, name=&quot;xyz.jpg&quot;, mehr...} 
  Object {}
  </code></pre>
  <p>Why is the <code>jsonString</code> empty?</p>
  <p>Background info: I want to send the file-reference with JSONP to another PHP server.</p>
  <p>Additional Information: I want to convert only the file-pointer (reference) to a string, to send it via GET.</p>