@groovy.transform.CompileStatic interface GrailsJsonViewHelper extends GrailsViewHelper
Additional methods specific to JSON views
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DEEP |
The deep parameter |
Type Params | Return Type | Name and description |
---|---|---|
|
abstract 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 |
|
abstract 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 |
|
abstract 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 |
|
abstract 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 |
|
abstract void |
inline(java.lang.Object object) Renders the given object inline within the current JSON object instead of creating a new JSON object |
|
abstract JsonWritable |
render(java.util.Map arguments) Renders a template and returns the output |
|
abstract 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 |
|
abstract 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 |
|
abstract JsonWritable |
render(java.lang.Object object) Renders the given object to JSON, typically a domain class, ignoring lazy and internal properties |
|
abstract 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