Interface ObjectMapper.Convertible

  • Enclosing class:
    ObjectMapper<T>

    public static interface ObjectMapper.Convertible
    Implementing this interface allows a class to coerce itself from one or more input types.

    When converting an object of this type, a new instance will be constructed using the no-args constructor. Then, canCoerce(Object) will be invoked to verify that the object is supported. If so, the object will be initialized via initializeFrom(Object).