Interface JsonConverter


public interface JsonConverter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final JsonConverter
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    fromJson(@NonNull Type type, @NonNull String content)
    Deserializes an object of the specified type from its JSON representation.
    <T> T
    fromObject(@NonNull Type type, Object content)
    Converts an object to a different type using JSON mapping logic as an intermediary.
    toJson(@NonNull Type type, Object o)
    Serializes an object of the specified type to its JSON representation.