@groovy.transform.CompileStatic abstract class JsonViewWritableScript extends AbstractWritableScript implements JsonView
Fields inherited from class | Fields |
---|---|
class AbstractWritableScript |
log, modelTypes, out, sourceFile |
Constructor and description |
---|
JsonViewWritableScript
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.io.Writer |
doWrite(java.io.Writer out) |
|
StreamingJsonBuilder |
json(groovy.lang.Closure callable) TODO: When Groovy 2.4.5 go back to JsonBuilder from groovy-json |
|
StreamingJsonBuilder |
json(java.lang.Iterable iterable) |
|
StreamingJsonBuilder |
json(java.util.Map map) |
|
StreamingJsonBuilder |
json(JsonUnescaped unescaped) Print unescaped json directly |
|
StreamingJsonBuilder |
json(JsonWritable writable) Print unescaped json directly |
|
StreamingJsonBuilder |
json(java.lang.Iterable iterable, groovy.lang.Closure callable) TODO: When Groovy 2.4.5 go back to JsonBuilder from groovy-json |
|
StreamingJsonBuilder |
json(java.lang.Object[] args) |
|
private GrailsView |
prepareParentWritable(GrailsViewTemplate parentTemplate, java.util.Map parentModel) |
|
private void |
resetProcessedObjects() |
Methods inherited from class | Name |
---|---|
class AbstractWritableScript |
doWrite, getModelTypes, getOut, setModelTypes, writeTo |
TODO: When Groovy 2.4.5 go back to JsonBuilder from groovy-json @return
Print unescaped json directly
unescaped
- The unescaped JSON produced from templatesPrint unescaped json directly
writable
- The unescaped JSON produced from templatesTODO: When Groovy 2.4.5 go back to JsonBuilder from groovy-json @return
Groovy Documentation