com.fasterxml.jackson.databind.deser.impl

Class NullProvider

  • All Implemented Interfaces:
    Serializable


    public final class NullProvider
    extends Object
    implements Serializable
    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.
    See Also:
    Serialized Form
    • Constructor Detail

      • NullProvider

        public NullProvider(JavaType type,
                    Object nullValue)
    • Method Detail

      • nullValue

        public Object nullValue(DeserializationContext ctxt)
                         throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException

Copyright © 2014 FasterXML. All Rights Reserved.