java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.deser.ValueInstantiator
Direct Known Subclasses:
StdValueInstantiator, ValueInstantiator.Base, ValueInstantiator.Delegating

public abstract class ValueInstantiator extends Object
Class that defines simple API implemented by objects that create value instances. Some or all of properties of value instances may be initialized by instantiator, rest being populated by deserializer, to which value instance is passed. Since different kinds of JSON values (structured and scalar) may be bound to Java values, in some cases instantiator fully defines resulting value; this is the case when JSON value is a scalar value (String, number, boolean).

Note that this type is not parameterized (even though it would seemingly make sense), because such type information cannot be use effectively during runtime: access is always using either wildcard type, or just basic Object; and so adding type parameter seems like unnecessary extra work.

Actual implementations are strongly recommended to be based on StdValueInstantiator which implements all methods, and as such will be compatible across versions even if new methods were added to this interface.