Writing JSON APIs : Part II – Creating JSON Named Configs to Control What You Render

In the 1st part of the series, we looked at how to secure our application with Spring Security Basic Authentication and modifying the JSON Marshaller. However, it could often be the case that the same set of fields shouldn't be returned on every JSON response. For example, we could very well have a summary JSON for Book, which just...

by Vivek Krishna
Tag: Grails Custom Marshaller