Jackson Annotations Source Code

Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java".

Jackson Annotations Source Code files are provided in the source packge (jackson-annotations-2.14.0-sources.jar). You can download it at Jackson Maven Website.

You can also browse Jackson Annotations Source Code below:

✍: FYIcenter.com

com/fasterxml/jackson/annotation/Nulls.java

package com.fasterxml.jackson.annotation;

/**
 * Enumeration used with {@link JsonSetter} (for properties `nulls`
 * and `contentNulls`)
 * to define how explicit `null` values from input (if input format
 * has the concept; JSON, for example does) are handled.
 */
public enum Nulls
{
    /**
     * Value that indicates that an input null should result in assignment
     * of Java `null` value of matching property (except where deserializer
     * indicates other "null value" by overriding <code>getNullValue(...)</code>
     * method)
     */
    SET,

    /**
     * Value that indicates that an input null value should be skipped and
     * no assignment is to be made; this usually means that the property
     * will have its default value.
     */
    SKIP,

    /**
     * Value that indicates that an exception (of type that indicates input mismatch
     * problem) is to be thrown, to indicate that null values are not accepted.
     */
    FAIL,

    /**
     * Value that indicates that value to assign should come from the value
     * deserializer of the type, using method <code>getEmptyValue()</code>.
     */
    AS_EMPTY,

    /**
     * Pseudo-value used to indicate that defaults are to be used for handling,
     * that is, this value specifies no explicit handling override.
     */
    DEFAULT
    ;
}

com/fasterxml/jackson/annotation/Nulls.java

 

Or download all of them as a single archive file:

File name: jackson-annotations-2.14.0-sources.jar
File size: 80402 bytes
Release date: 2022-11-05
Download 

 

Jackson Dataformat Extensions

Jackson Data Binding Source Code

Downloading and Reviewing jackson-*.jar

⇑⇑ Jackson - Java JSON library

2022-02-19, 56811👍, 0💬