Groovy web console

subscribe to the feed Subscribe
to this
site

slurper test

Published 2 months ago by z
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def slurper = new groovy.json.JsonSlurper()
def result = slurper.parseText('{"person":{"name":"Guillaume","age":33,"pets":["dog","cat"]}}')