Class GsonJsonToObjectMapper<T>

  • Type Parameters:
    T - the target type to be produced by this Mapper (the target class may contain Gson annotations for due mapping -- e.g.: @SerializedName)
    All Implemented Interfaces:
    Mapper<T>
    Direct Known Subclasses:
    GsonJsonObjectMapper

    public class GsonJsonToObjectMapper<T>
    extends Object
    implements Mapper<T>
    A specialized Mapper that loads the contents of a valid JSON Source (e.g.: file, URL, string) into POJO (Plain Old Java Object), using Gson.

    Additional details may be found at Gsons's official documentation.

    Since:
    0.4.0
    Author:
    oswaldo.bapvic.jr (Oswaldo Junior)