Package org.cdlib.mrt.utility
Class JSONUtil
java.lang.Object
org.cdlib.mrt.utility.JSONUtil
This class is a collection of XML Utility functions.
They are all static and so can be called without instanciating this class.
- Author:
- David Loy
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JSONUtil
public JSONUtil()
-
-
Method Details
-
encode
Replace XML special characters with Entity references- Returns:
- encoded string
- Throws:
TException
-
decode
Replace quote and escape in JSON string- Returns:
- decoded string
- Throws:
TException
-