public class JSONObjectAjaxRenderer extends Object implements AjaxRenderer
| Modifier and Type | Class and Description |
|---|---|
static class |
JSONObjectAjaxRenderer.User |
APP_JS, APP_JSON, APP_URLENCODED, TEXT_HTML, TEXT_PLAIN, TEXT_XML| Constructor and Description |
|---|
JSONObjectAjaxRenderer() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode(Object obj,
Locale loc,
boolean pretty) |
String |
getCharset() |
String |
getContentType() |
static void |
main(String[] args) |
public String encode(Object obj, Locale loc, boolean pretty) throws Exception
encode in interface AjaxRendererExceptionpublic String getContentType()
getContentType in interface AjaxRendererpublic String getCharset()
getCharset in interface AjaxRendererCopyright © 2015. All Rights Reserved.