public interface NullValueProvider
JsonDeserializer(as a mix-in interface), but also by converters used to support more configurable null replacement.
|Modifier and Type||Method and Description|
Accessor that may be used to determine if and when provider must be called to access null replacement value.
Method called to possibly convert incoming `null` token (read via underlying streaming input source) into other value of type accessor supports.
Object getNullValue(DeserializationContext ctxt) throws JsonMappingException
getNullAccessPattern() returns `ALWAYS_NULL` or
`CONSTANT`, this method WILL NOT use provided `ctxt` and it may thus
be passed as `null`.
Copyright © 2008–2019 FasterXML. All rights reserved.