Class POJOHelper


  • public final class POJOHelper
    extends Object
    Helper class for serialization and deserialization of configuration objects (POJOs) in JSON.
    • Method Detail

      • serialize

        public static String serialize​(Object object)
      • deserialize

        public static <T> T deserialize​(String serialized,
                                        Class<T> reference)
      • deserialize

        public static <T> T deserialize​(String serialized,
                                        TypeReference<T> reference)
      • convertValue

        public static <T> T convertValue​(Object value,
                                         Class<T> reference)