1. Jason Stonebraker
  2. JSONExclusionMarshaller

Commits

Jason Stonebraker  committed 3303830

Edited online

  • Participants
  • Parent commits e49ed04
  • Branches master

Comments (0)

Files changed (1)

File Home.md

View file
  • Ignore whitespace
 }
 ```
 
+## Installation
+As a Dependency: 
+```compile ":json-exclusion-marshaller:0.2"```
+
+Via command line:
+```grails install-plugin json-exclusion-marshaller```
+
 ## What problem does the plugin solve?
 
 The grails.converter.JSON class is powerful. That power comes at the cost of some complexity though. This plugin utilizes Groovy's meta-programming features to simplify the common task of excluding arbitrary properties from the JSON payload at run-time. The most common use for this plugin will be to simply ensure that the 'id' and 'class' properties added by GORM are not included in the JSON string. Basically, it allows you to tackle this common task using expressive, domain specific language, quickly and simply. It also makes it simple to determine at run-time which properties to exclude.