Pasi12 Posted February 3, 2017 Report 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.