程序包 | 说明 |
---|---|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
限定符和类型 | 字段和说明 |
---|---|
protected HandlerInstantiator |
MapperConfig.Base._handlerInstantiator
Object used for creating instances of handlers (serializers, deserializers,
type and type id resolvers), given class to instantiate.
|
限定符和类型 | 方法和说明 |
---|---|
HandlerInstantiator |
MapperConfig.getHandlerInstantiator() |
HandlerInstantiator |
MapperConfig.Base.getHandlerInstantiator() |
限定符和类型 | 方法和说明 |
---|---|
void |
ObjectMapper.setHandlerInstantiator(HandlerInstantiator hi)
Method for configuring
HandlerInstantiator to use for creating
instances of handlers (such as serializers, deserializers, type and type
id resolvers), given a class. |
SerializationConfig |
SerializationConfig.withHandlerInstantiator(HandlerInstantiator hi) |
abstract T |
MapperConfig.withHandlerInstantiator(HandlerInstantiator hi)
Method for constructing and returning a new instance with different
HandlerInstantiator
to use. |
MapperConfig.Base |
MapperConfig.Base.withHandlerInstantiator(HandlerInstantiator hi) |
DeserializationConfig |
DeserializationConfig.withHandlerInstantiator(HandlerInstantiator hi) |