public class JsonHelper extends Object
Modifier and Type | Method and Description |
---|---|
static com.opensymphony.webwork.dispatcher.json.JSONObject |
buildJsonObject(Object bean,
Iterable<String> properties) |
static com.opensymphony.webwork.dispatcher.json.JSONObject |
buildJsonObject(Object bean,
String... properties) |
static void |
returnJsonResponse(javax.servlet.http.HttpServletResponse response,
com.opensymphony.webwork.dispatcher.json.JSONObject json) |
public static void returnJsonResponse(javax.servlet.http.HttpServletResponse response, com.opensymphony.webwork.dispatcher.json.JSONObject json) throws com.opensymphony.webwork.dispatcher.json.JSONException, IOException
com.opensymphony.webwork.dispatcher.json.JSONException
IOException
@NotNull public static com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject(Object bean, String... properties)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.