Jump to content
groovyPost Forums

Pasi12

Members
  • Posts

    1
  • Joined

  • Last visited

Pasi12's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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
×
×
  • Create New...