Created
March 18, 2015 13:05
-
-
Save chrisronline/f46a8b29b5e90f003963 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
fs.readFile(__dirname + '/1426677542365_data.json', function(err, data) { | |
if (err) throw err; | |
var json = JSON.parse(data); | |
console.log('Rows=%d Length=%d', json.length, new Buffer(JSON.stringify(json)).toString('base64').length); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment