Interface Json

  • All Known Implementing Classes:
    GsonWrapper

    public interface Json
    • Method Detail

      • fromJson

        <T> T fromJson​(String json,
                       Type type)
        Deserialize the generic object from json. If the object is not a generic type, use #fromJson(Object, Class)
      • fromJson

        <T> T fromJson​(String json,
                       Class<T> classOfT)
        Deserialize the object from json. If the object is a generic type, use #fromJson(Object, Type)
      • fromJson

        <T> T fromJson​(InputStream json,
                       Charset charset,
                       Type type)
        Deserialize the generic object from json. If the object is not a generic type, use #fromJson(Object, Class)
      • fromJson

        <T> T fromJson​(InputStream json,
                       Charset charset,
                       Class<T> classOfT)
        Deserialize the object from json. If the object is a generic type, use #fromJson(Object, Type)