Groovy web console

subscribe to the feed Subscribe
to this
site
simpleTest (via #groovywebconsole)
tweet this snippet Tweet
this
script

simpleTest

Published 5 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def json = '{   "smoke": "Test1.js",   "default": "Test2.js" }'
 
def res = new groovy.json.JsonSlurper().parseText(json)
 
println res