Liferay 6.0.5

com.liferay.portal.kernel.json
Class JSONFactoryUtil

java.lang.Object
  extended by com.liferay.portal.kernel.json.JSONFactoryUtil

public class JSONFactoryUtil
extends Object


Constructor Summary
JSONFactoryUtil()
           
 
Method Summary
static JSONArray createJSONArray()
           
static JSONArray createJSONArray(String json)
           
static JSONObject createJSONObject()
           
static JSONObject createJSONObject(String json)
           
static Object deserialize(JSONObject jsonObj)
           
static Object deserialize(String json)
           
static JSONFactory getJSONFactory()
           
static String serialize(Object obj)
           
 void setJSONFactory(JSONFactory jsonFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONFactoryUtil

public JSONFactoryUtil()
Method Detail

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)

Liferay 6.0.5