Class JsonUtil

  • public class JsonUtil
    extends java.lang.Object
    Util class which helps to parse Json to and from Object.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JsonUtil.ParseJsonException
      A JSON parsing exception.
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T fromJson​(java.lang.String jsonStr, java.lang.Class<T> valueType)  
      static java.lang.String toJson​(java.lang.Object object)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait