Jolt custom java transform
Jolt is a JSON to JSON transformation library where the transform is defined in JSON. It’s really good at reorganizing the json data and massaging it into the output JSON you need. Sometimes, you just ...
Jolt transform both fields required
Jolt is a JSON to JSON transformation library where the transform is defined in JSON. As an example you may want to transform the latitude and longitude fields into a location object containing those fields. ...
Jolt transform a default value dependent on another field
Jolt is a JSON to JSON transformation library where the transform is defined in JSON Sometimes you need to add a default value along with a data transformation. The straight forward way to do this ...
Serializing Groovy Traits with Jackson
Working on a Groovy and Spring Boot project, we encountered a serialization issue on an object that implemented a Groovy trait. The object would be serialized correctly until the JsonFormat annotation was used on one ...
Synchronizing Rest Service Schemas
We’ve all been there: Your app deploys to production and you discover that something has stopped working because the services you depend on have renamed a field. In a REST service there is no static ...
Working with the Postman REST Client
Recently at one of my clients, I found myself looking for a different setup for building and managing REST calls to various APIs I was working with. There are a multitude of services out there ...
Conquering With CLOBs
Introduction Today’s web-based applications can freely pass around large amounts of data formatted in XML and JSON. Businesses often want to hang on to and analyze even the most obscure pieces of information, either for ...
Introducing Maprest: A Grails Plugin for Customized and Dynamic REST Services
Out of the box, Grails comes with some nice converters for XML and JSON, allowing your REST services to easily render in either of these formats. But these have their limitations. Take, for example, a ...
Grails ProTip: Dynamically creating JSON in Grails 2.0 with JsonBuilder
GrailsProTipJsonBuilder.html In January I did a talk enumerating all the features in Grails 2.0 that I was excited about and one topics that made the list was the new JsonBuilder that came with the inclusion ...