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
static def createStringsFromJson(File inputFile, String outputFolderRootPath) { | |
def json = new JsonSlurper().parseText(inputFile.text) | |
def sw = new StringWriter() | |
def xml = new groovy.xml.MarkupBuilder(sw) | |
def keywords = ["abstract", "continue", "for", "new", "switch", | |
"default", "package", "synchronized", | |
"boolean", "do", "if", "private", "this", | |
"break", "double", "implements", "protected", "throw", | |
"byte", "else", "import", "public", "throws", |