com.liferay.portal.kernel.json
Class JSONFactoryUtil
java.lang.Object
com.liferay.portal.kernel.json.JSONFactoryUtil
public class JSONFactoryUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONFactoryUtil
public JSONFactoryUtil()
createJSONArray
public static JSONArray createJSONArray()
createJSONArray
public static JSONArray createJSONArray(String json)
throws JSONException
- Throws:
JSONException
createJSONObject
public static JSONObject createJSONObject()
createJSONObject
public static JSONObject createJSONObject(String json)
throws JSONException
- Throws:
JSONException
deserialize
public static Object deserialize(JSONObject jsonObj)
deserialize
public static Object deserialize(String json)
getJSONFactory
public static JSONFactory getJSONFactory()
serialize
public static String serialize(Object obj)
setJSONFactory
public void setJSONFactory(JSONFactory jsonFactory)