Groovy web console

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

thomas test feiertage

Published 1 month ago by thomas with tags feiertage
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
import groovy.json.*

def payload = new URL("http://feiertage.jarmedia.de/api/?jahr=2018&nur_land=bw").text

def slurper = new JsonSlurper()
def doc = slurper.parseText(payload)

doc.commits.message.each { println it }