com.fasterxml.jackson.databind.deser.impl
Class NullProvider
java.lang.Object
com.fasterxml.jackson.databind.deser.impl.NullProvider
public final class NullProvider
- extends Object
To support [JACKSON-420] we need bit more indirection; this is used to produce
artificial failure for primitives that don't accept JSON null as value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullProvider
public NullProvider(JavaType type,
Object nullValue)
nullValue
public Object nullValue(DeserializationContext ctxt)
throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2012 fasterxml.com. All Rights Reserved.