@groovy.transform.CompileStatic class JsonRenderer<T> extends DefaultJsonRenderer<T>
A JSON renderer that allows including / excluding properties
| Modifiers | Name | Description |
|---|---|---|
class |
JsonRenderer.1 |
|
class |
JsonRenderer.2 |
| Type | Name and description |
|---|---|
java.util.List<java.lang.String> |
excludesThe properties to be excluded |
grails.core.GrailsApplication |
grailsApplication |
java.util.List<java.lang.String> |
includesThe properties to be included |
grails.core.support.proxy.ProxyHandler |
proxyHandler |
| Constructor and description |
|---|
JsonRenderer
(java.lang.Class<T> targetType) |
JsonRenderer
(java.lang.Class<T> targetType, grails.web.mime.MimeType[] mimeTypes) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
registerCustomConverter() |
|
protected void |
registerCustomMarshaller(org.grails.web.converters.marshaller.ObjectMarshaller marshaller) |
|
protected void |
renderJson(grails.converters.JSON converter, RenderContext context) |
The properties to be excluded
The properties to be included
Groovy Documentation