3 ms·Easy node one-liner: JSON.stringify(JSON.parse(require('fs').readfileSync('myfile.json')),null,2);by binarymax 6y agoEasy node one-liner: JSON.stringify(JSON.parse(require('fs').readfileSync('myfile.json')),null,2);