Pasi12 0 Report post Posted February 3, 2017 HI I have a code to start parsing Json file but don't know how to output it into an excel file? please help: here is my code: import groovy.json.* import groovy.json.JsonOutput File f = new File("C:\\Users\\Pasi\\Documents\\"+File.separator+'json.txt') def inputFile = new File("C:\\Users\\Pasi\\Documents\\json.txt") def InputJSON = new JsonSlurper().parseText(inputFile.text) InputJSON.each{ println it } Thanks, Pasi Share this post Link to post Share on other sites