Interface ReadHandler<T,​Rep>

  • All Known Subinterfaces:
    ArrayReadHandler<G,​A,​T,​R>, MapReadHandler<G,​A,​K,​V,​R>

    public interface ReadHandler<T,​Rep>
    Converts a transit representation to an instance of a type; if type implements ArrayReadHandler or MapReadHandler to support incremental parsing of representation, that interface will be used instead
    • Method Detail

      • fromRep

        T fromRep​(Rep rep)
        Converts a transit value to an instance of a type
        Parameters:
        rep - the transit value
        Returns:
        the converted object