Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonEncoder

        public JsonEncoder()
    • 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 interface ContentEncoder
        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 interface ContentEncoder
        Parameters:
        data - - value to be encoded
        Returns:
        encoded value