Note
in Jackson 2.x this was named IonParser.Feature.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final int | |
| public static final IonReadFeature | READ_NULL_AS_IONVALUE
Whether to convert "null" to an IonValueNull (true); or leave as a java null (false) when deserializing. |
| public static final IonReadFeature | USE_NATIVE_TYPE_ID
Whether to expect Ion native Type Id construct for indicating type (true); or "generic" type property (false) when deserializing. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | collectDefaults()
Method that calculates bit set (flags) of all features that are enabled by default. |
| public boolean | enabledByDefault()
Implements tools. Accessor for checking whether this feature is enabled by default. |
| public boolean | enabledIn(int flags)
Implements tools. Convenience method for checking whether feature is enabled in given bitmask. |
| public int | getMask()
Implements tools. Returns bit mask for this feature instance; must be a single bit,
that is of form |
| public static IonReadFeature | |
| public static IonReadFeature[] |
| _defaultState | back to summary |
|---|---|
| private final boolean _defaultState | |
| _mask | back to summary |
|---|---|
| private final int _mask | |
| READ_NULL_AS_IONVALUE | back to summary |
|---|---|
| public static final IonReadFeature READ_NULL_AS_IONVALUE Whether to convert "null" to an IonValueNull (true); or leave as a java null (false) when deserializing. Enabled by default for backwards compatibility as that has been the behavior of `jackson-dataformat-ion` since 2.13.
| |
| USE_NATIVE_TYPE_ID | back to summary |
|---|---|
| public static final IonReadFeature USE_NATIVE_TYPE_ID Whether to expect Ion native Type Id construct for indicating type (true); or "generic" type property (false) when deserializing. Enabled by default.
| |
| IonReadFeature | back to summary |
|---|---|
| private IonReadFeature(boolean defaultState) | |
| collectDefaults | back to summary |
|---|---|
| public static int collectDefaults() Method that calculates bit set (flags) of all features that are enabled by default. | |
| enabledByDefault | back to summary |
|---|---|
| public boolean enabledByDefault() Implements tools. Doc from tools. Accessor for checking whether this feature is enabled by default.
| |
| enabledIn | back to summary |
|---|---|
| public boolean enabledIn(int flags) Implements tools. Doc from tools. Convenience method for checking whether feature is enabled in given bitmask.
| |
| getMask | back to summary |
|---|---|
| public int getMask() Implements tools. Doc from tools. Returns bit mask for this feature instance; must be a single bit,
that is of form
| |
| valueOf | back to summary |
|---|---|
| public static IonReadFeature valueOf(String name) | |
| values | back to summary |
|---|---|
| public static IonReadFeature[] values() | |