Solved
I was able to do this by:
def slurper = new JsonSlurper()
def json = slurper.parseText response
String countryList = json.result.values[0]
def aa =countryList.take(1)
I was able to do this by:
def slurper = new JsonSlurper()
def json = slurper.parseText response
String countryList = json.result.values[0]
def aa =countryList.take(1)