Class Serializer


  • public class Serializer
    extends Object
    • Constructor Detail

      • Serializer

        public Serializer()
    • Method Detail

      • serialize

        public <T> String serialize​(T modelObject)
                             throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • deserialize

        public <T> T deserialize​(String s,
                                 com.fasterxml.jackson.core.type.TypeReference<T> reference)
                          throws IOException
        Throws:
        IOException
      • deserializeStrict

        public <T> T deserializeStrict​(String s,
                                       com.fasterxml.jackson.core.type.TypeReference<T> reference)
                                throws IOException
        Throws:
        IOException