Liferay 6.0.5

com.liferay.portal.json
Class JSONFactoryImpl

java.lang.Object
  extended by com.liferay.portal.json.JSONFactoryImpl
All Implemented Interfaces:
JSONFactory

public class JSONFactoryImpl
extends Object
implements JSONFactory


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

Constructor Detail

JSONFactoryImpl

public JSONFactoryImpl()
Method Detail

createJSONArray

public JSONArray createJSONArray()
Specified by:
createJSONArray in interface JSONFactory

createJSONArray

public JSONArray createJSONArray(String json)
                          throws JSONException
Specified by:
createJSONArray in interface JSONFactory
Throws:
JSONException

createJSONObject

public JSONObject createJSONObject()
Specified by:
createJSONObject in interface JSONFactory

createJSONObject

public JSONObject createJSONObject(String json)
                            throws JSONException
Specified by:
createJSONObject in interface JSONFactory
Throws:
JSONException

deserialize

public Object deserialize(JSONObject jsonObj)
Specified by:
deserialize in interface JSONFactory

deserialize

public Object deserialize(String json)
Specified by:
deserialize in interface JSONFactory

serialize

public String serialize(Object obj)
Specified by:
serialize in interface JSONFactory

Liferay 6.0.5