groovlets have long had an implicit object of type MarkupBuilder called html, which is useful for writing out XML representations of objects. A similar object called json, of type groovy.json.JsonBuilder, was added to ServletBinding so that it is available in groovlets.
Unlike MarkupBuilder, JsonBuilder only serializes its output but does not write it to the output writer. Expected usage, therefore, will be to use the builder and then use "out << json" or "print json" to write the result to the response.
|Workflow||jira [ 12971704 ]||Default workflow, editable Closed status [ 12979492 ]|
|Project Import||Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]|
|Workflow||jira [ 12734264 ]||Default workflow, editable Closed status [ 12745986 ]|
|Project Import||Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||2.0-beta-3 [ 18244 ]|
|Fix Version/s||1.8.7 [ 18317 ]|
|Resolution||Fixed [ 1 ]|
|Field||Original Value||New Value|
|Assignee||glaforge glaforge [ guillaume ]|
|Component/s||JMX [ 14662 ]|
|Component/s||Groovlet / GSP [ 11660 ]|
|Component/s||Grape [ 13810 ]|