Class MapToJson

    • Field Detail

      • m_PrettyPrinting

        protected boolean m_PrettyPrinting
        whether to use pretty-printing.
    • Constructor Detail

      • MapToJson

        public MapToJson()
    • Method Detail

      • setPrettyPrinting

        public void setPrettyPrinting​(boolean value)
        Sets whether to use pretty-printing or not.
        Parameters:
        value - true if to use pretty-printing
      • getPrettyPrinting

        public boolean getPrettyPrinting()
        Returns whether pretty-printing is used or not.
        Returns:
        true if to use pretty-printing
      • prettyPrintingTipText

        public String prettyPrintingTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • toString

        protected String toString​(Map map)
        Converts the map into a string.
        Specified by:
        toString in class AbstractMapToString
        Parameters:
        map - the map to convert
        Returns:
        the generated string