Class Json


  • public class Json
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Json()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T readBytes​(byte[] bytes, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)  
      static <T> T readBytes​(byte[] bytes, java.lang.Class<T> clazz)  
      static <T> byte[] writeBytes​(T obj)  
      static <T> java.lang.String writeString​(T obj)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Json

        public Json()
    • Method Detail

      • writeString

        public static <T> java.lang.String writeString​(T obj)
      • writeBytes

        public static <T> byte[] writeBytes​(T obj)
      • readBytes

        public static <T> T readBytes​(byte[] bytes,
                                      java.lang.Class<T> clazz)
      • readBytes

        public static <T> T readBytes​(byte[] bytes,
                                      com.fasterxml.jackson.core.type.TypeReference<T> typeReference)