I want to convert an HTML input file to a JSON string like this:
var jsonString = JSON.stringify(file); console.log( file ); console.log( jsonString );
var obj = { name: 'dashu3f' }; var stringObj = JSON.stringify(obj); console.log(typeof stringObj); console.log(stringObj);
open terminal this Folder file and run node json.js