Package 

Object JsonConverter

  • All Implemented Interfaces:

    
    public class JsonConverter
    
                        

    Utility class for JSON serialization

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> T fromJson(String json) Serializes an object to JSON string.
      final Object fromJson(String json, Class<?> type) De-serializes an object from JSON string.
      final Map<String, ?> toMap(String json) De-serializes JSON string to a Map.
      final String toJson(Object obj) Serializes an object to JSON string.
      final JSONObject toJsonObject(Object $self)
      • Methods inherited from class java.lang.Object

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