Package com.microstrategy.utils
Class JsonEncoder
- java.lang.Object
-
- com.microstrategy.utils.JsonEncoder
-
- All Implemented Interfaces:
ContentEncoder
public class JsonEncoder extends java.lang.Object implements ContentEncoder
This class encodes the JSON string.- Since:
- MicroStrategy Web 9.0.1
-
-
Constructor Summary
Constructors Constructor Description JsonEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.CharSequence
encode(java.lang.String data)
This method should return the original String if there is no replacement.java.lang.StringBuilder
encode(java.lang.StringBuilder data)
Encode the value in the StringBuilder.
-
-
-
Method Detail
-
encode
public java.lang.CharSequence encode(java.lang.String data)
Description copied from interface:ContentEncoder
This method should return the original String if there is no replacement.- Specified by:
encode
in interfaceContentEncoder
- Parameters:
data
- - value to be encoded- Returns:
- encoded value
-
encode
public java.lang.StringBuilder encode(java.lang.StringBuilder data)
Description copied from interface:ContentEncoder
Encode the value in the StringBuilder.- Specified by:
encode
in interfaceContentEncoder
- Parameters:
data
- - value to be encoded- Returns:
- encoded value
-
-