Class JsonConverter


  • public class JsonConverter
    extends Object
    Json Converter class
    • Constructor Detail

      • JsonConverter

        public JsonConverter()
    • Method Detail

      • toMap

        public static Map<String,​Object> toMap​(String jsonStr)
                                              throws com.fasterxml.jackson.core.JsonParseException,
                                                     com.fasterxml.jackson.databind.JsonMappingException,
                                                     IOException
        Throws:
        com.fasterxml.jackson.core.JsonParseException
        com.fasterxml.jackson.databind.JsonMappingException
        IOException
      • toJsonString

        public static String toJsonString​(Object obj)
                                   throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException