Created
June 10, 2019 15:31
-
-
Save YokiToki/274a97fac7f3f9240db3d569104d4d5e 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
const fs = require("fs"); | |
const json = fs.readFileSync("out.json"); | |
const content = JSON.parse(json); | |
content.responses[0].hits.hits.map(function (obj) { | |
console.log('type', obj._source.type); | |
console.log('date', obj._source.date); | |
console.log('sequence', obj._source.sequence); | |
console.log(''); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment