public class

JsonEncoder

extends Object
implements ContentEncoder
java.lang.Object
   ↳ com.microstrategy.utils.JsonEncoder

Class Overview

This class encodes the JSON string.

Summary

Public Constructors
JsonEncoder()
Public Methods
StringBuilder encode(StringBuilder data)
Encode the value in the StringBuilder.
CharSequence encode(String data)
This method should return the original String if there is no replacement.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.microstrategy.utils.ContentEncoder

Public Constructors

public JsonEncoder ()

Public Methods

public StringBuilder encode (StringBuilder data)

Encode the value in the StringBuilder.

Parameters
data - value to be encoded
Returns
  • encoded value

public CharSequence encode (String data)

This method should return the original String if there is no replacement.

Parameters
data - value to be encoded
Returns
  • encoded value