@ConfigRoot public class JacksonBuildTimeConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
failOnUnknownProperties
If enabled, Jackson will fail when encountering unknown properties.
|
Optional<ZoneId> |
timezone
If set, Jackson will default to using the specified timezone when formatting dates.
|
boolean |
writeDatesAsTimestamps
If enabled, Jackson will serialize dates as numeric value(s).
|
| Constructor and Description |
|---|
JacksonBuildTimeConfig() |
@ConfigItem(defaultValue="false") public boolean failOnUnknownProperties
You can still override it locally with @JsonIgnoreProperties(ignoreUnknown = false).
@ConfigItem(defaultValue="false") public boolean writeDatesAsTimestamps
Copyright © 2021 JBoss by Red Hat. All rights reserved.