OPI Blog
Learn from experts in their fields

Browsing Tags: json

Jan 26, 2021
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 ...
Dec 14, 2017
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 ...
Jan 25, 2017
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 ...
Jul 12, 2016
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 ...
Jun 16, 2015
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 ...
Feb 5, 2013
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 ...
Mar 22, 2012
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 ...