Package ru.kpekepsalt.ruvik.utils
Class StringUtils
- java.lang.Object
-
- ru.kpekepsalt.ruvik.utils.StringUtils
-
public class StringUtils extends Object
Utils to work with strings
-
-
Constructor Summary
Constructors Constructor Description 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
-
-