Class StringUtils


  • public class StringUtils
    extends Object
    Utils to work with strings
    • Constructor Detail

      • StringUtils

        public StringUtils()
    • Method Detail

      • toJson

        public static String toJson​(Object object)
                             throws com.fasterxml.jackson.core.JsonProcessingException
        Object to JSON encoding
        Parameters:
        object - Object to convert
        Returns:
        JSON string representation of Object
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - Raised if Object can't be converted