import groovy.json.* def x = "{'key1': 'val1', 'key2': 'val2'}" def parsed = new JsonSlurper().setType(JsonParserType.LAX).parseText(x) println parsed.JIRACHEF println parsed.JIRADEPLOYER println parsed.JIRASINGLEBUILD