public enum JsonNodeFeature extends Enum<JsonNodeFeature> implements DatatypeFeature
JsonNode
types.Enum Constant and Description |
---|
READ_NULL_PROPERTIES
When reading
JsonNode s are null valued properties included as explicit
NullNode s in resulting ObjectNode
or skipped? |
WRITE_NULL_PROPERTIES
When writing
JsonNode s are null valued properties written as explicit
JSON null s or skipped? |
Modifier and Type | Method and Description |
---|---|
boolean |
enabledByDefault() |
boolean |
enabledIn(int flags) |
int |
featureIndex()
Internal index used for efficient storage and index; no
user serviceable contents inside!
|
int |
getMask() |
static JsonNodeFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonNodeFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonNodeFeature READ_NULL_PROPERTIES
JsonNode
s are null valued properties included as explicit
NullNode
s in resulting ObjectNode
or skipped?
Default value: true
public static final JsonNodeFeature WRITE_NULL_PROPERTIES
JsonNode
s are null valued properties written as explicit
JSON null
s or skipped?
Default value: true
public static JsonNodeFeature[] values()
for (JsonNodeFeature c : JsonNodeFeature.values()) System.out.println(c);
public static JsonNodeFeature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean enabledByDefault()
enabledByDefault
in interface com.fasterxml.jackson.core.util.JacksonFeature
public boolean enabledIn(int flags)
enabledIn
in interface com.fasterxml.jackson.core.util.JacksonFeature
public int getMask()
getMask
in interface com.fasterxml.jackson.core.util.JacksonFeature
public int featureIndex()
DatatypeFeature
featureIndex
in interface DatatypeFeature
Copyright © 2008–2023 FasterXML. All rights reserved.