I am facing a problem. I have to parse JSON contained list of jira-core versions from Atlassian website.
While attempting to parse JSON from the website using a JsonSlurper, I get an error saying:
"The current character read is 'd' with an int value of 100 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0"
def http = new HTTPBuilder('https://my.atlassian.com/download/feeds/') def html = http.get( path : 'current/jira-core.json') def slurper = new groovy.json.JsonSlurper(type: JsonParserType.LAX).parse(html) print slurper
How do I need to get the correct JSON block?