Package com.atlassian.bamboo.ww2.common
Class JsonHelper
- java.lang.Object
-
- com.atlassian.bamboo.ww2.common.JsonHelper
-
public class JsonHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject
buildJsonObject(Object bean, Iterable<String> properties)
static @NotNull 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)
-
-
-
Method Detail
-
returnJsonResponse
public static void returnJsonResponse(javax.servlet.http.HttpServletResponse response, com.opensymphony.webwork.dispatcher.json.JSONObject json) throws com.opensymphony.webwork.dispatcher.json.JSONException, IOException
- Throws:
com.opensymphony.webwork.dispatcher.json.JSONException
IOException
-
buildJsonObject
@NotNull public static @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject(Object bean, String... properties)
-
-