Additional methods specific to JSON views
Type | Name and description |
---|---|
java.lang.String |
DEEP The deep parameter |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
inline(java.lang.Object object, java.util.Map arguments, groovy.lang.Closure customizer, StreamingJsonDelegate delegate) Renders the given object inline within the current JSON object instead of creating a new JSON object |
|
void |
inline(java.lang.Object object, java.util.Map arguments, groovy.lang.Closure customizer) Renders the given object inline within the current JSON object instead of creating a new JSON object |
|
void |
inline(java.lang.Object object, java.util.Map arguments) Renders the given object inline within the current JSON object instead of creating a new JSON object |
|
void |
inline(java.lang.Object object, groovy.lang.Closure customizer) Renders the given object inline within the current JSON object instead of creating a new JSON object |
|
void |
inline(java.lang.Object object) Renders the given object inline within the current JSON object instead of creating a new JSON object |
|
JsonWritable |
render(java.util.Map arguments) Renders a template and returns the output |
|
JsonWritable |
render(java.lang.Object object, java.util.Map arguments, groovy.lang.Closure customizer) Renders the given object to JSON, typically a domain class, ignoring lazy and internal properties |
|
JsonWritable |
render(java.lang.Object object, java.util.Map arguments) Renders the given object to JSON, typically a domain class, ignoring lazy and internal properties |
|
JsonWritable |
render(java.lang.Object object) Renders the given object to JSON, typically a domain class, ignoring lazy and internal properties |
|
JsonWritable |
render(java.lang.Object object, groovy.lang.Closure customizer) Renders the given object to JSON, typically a domain class, ignoring lazy and internal properties |
Methods inherited from class | Name |
---|---|
interface GrailsViewHelper |
message |
Renders the given object inline within the current JSON object instead of creating a new JSON object
object
- The object to renderarguments
- The argumentscustomizer
- The customizerdelegate
- The delegate to use to render the outputRenders the given object inline within the current JSON object instead of creating a new JSON object
object
- The object to renderarguments
- The argumentscustomizer
- The customizerRenders the given object inline within the current JSON object instead of creating a new JSON object
object
- The object to renderarguments
- The argumentsRenders the given object inline within the current JSON object instead of creating a new JSON object
object
- The object to rendercustomizer
- The customizerRenders the given object inline within the current JSON object instead of creating a new JSON object
object
- The object to renderRenders a template and returns the output
arguments
- The named arguments: 'template', 'collection', 'model', 'var' and 'bean'Renders the given object to JSON, typically a domain class, ignoring lazy and internal properties
object
- The object to renderarguments
- The supported named arguments: 'includes' or 'excludes' listcustomizer
- Used to customize the contentsRenders the given object to JSON, typically a domain class, ignoring lazy and internal properties
object
- The object to renderarguments
- The supported named arguments: 'includes' or 'excludes' listRenders the given object to JSON, typically a domain class, ignoring lazy and internal properties
object
- The object to renderRenders the given object to JSON, typically a domain class, ignoring lazy and internal properties
object
- The object to rendercustomizer
- the customizer