Class StringToObject

    • Field Detail

      • m_Classname

        protected BaseClassname m_Classname
        the class to convert to.
      • m_Lenient

        protected boolean m_Lenient
        whether to use lenient mode.
    • Constructor Detail

      • StringToObject

        public StringToObject()
    • Method Detail

      • setClassname

        public void setClassname​(BaseClassname value)
        Sets the classname.
        Parameters:
        value - the classname
      • getClassname

        public BaseClassname getClassname()
        Returns the classname.
        Returns:
        the classname
      • classnameTipText

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

        public void setLenient​(boolean value)
        Sets whether to parse JSON in lenient mode or not. Latter will raise an exception if unknown properties are encountered.
        Specified by:
        setLenient in interface LenientModeSupporter
        Parameters:
        value - true if lenient
      • getLenient

        public boolean getLenient()
        Returns whether to parse JSON in lenient mode or not. Latter will raise an exception if unknown properties are encountered.
        Specified by:
        getLenient in interface LenientModeSupporter
        Returns:
        true if lenient
      • lenientTipText

        public String lenientTipText()
        Returns the tip text for this property.
        Specified by:
        lenientTipText in interface LenientModeSupporter
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.