com.atlassian.bamboo.ww2.common
Class JsonHelper
java.lang.Object
com.atlassian.bamboo.ww2.common.JsonHelper
public class JsonHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject(Object bean,
String... properties)
buildJsonObject
@NotNull
public static com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject(Object bean,
Iterable<String> properties)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.