A JSON renderer that allows including / excluding properties
Type | Name and description |
---|---|
java.util.List<java.lang.String> |
excludes The properties to be excluded |
GrailsApplication |
grailsApplication |
java.util.List<java.lang.String> |
includes The properties to be included |
ProxyHandler |
proxyHandler |
Constructor and description |
---|
JsonRenderer
(java.lang.Class<T> targetType) |
JsonRenderer
(java.lang.Class<T> targetType, MimeType... mimeTypes) |
Type | Name and description |
---|---|
void |
registerCustomConverter() |
protected void |
registerCustomMarshaller(ObjectMarshaller marshaller) |
protected void |
renderJson(JSON converter, RenderContext context) |
Methods inherited from class | Name |
---|---|
class DefaultJsonRenderer |
render, renderJson, renderJson |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The properties to be excluded
The properties to be included
Groovy Documentation