Hello & Welcome to
My experience with Java, Groovy, Grails, Python and more.

My thoughts, meanderings, ideas about some awesome technologies that I get to dabble in!

Scroll Down

Groovy Unmarshalling Json to a specific Object

If you have a simple POJO (Plain Old Java Object) or POGO (Plain Old Groovy Object), you can use Groovy's default Map based constructor to convert the JSON string to an Object type. package com.example.groovy import groovy.json.JsonBuilder import groovy.json.JsonSlurper import groovy.transform.ToString /** * Created…