@ConfigurationProperties(value="micronaut.serde")
public interface SerdeConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
getDateFormat()
The date format to use when serializing and deserializing dates.
|
java.util.List<java.lang.String> |
getIncludedIntrospectionPackages()
The packages containing introspections that should be regarded
as serializable by default without the need to add the
Serdeable annotation. |
java.util.Optional<java.util.Locale> |
getLocale() |
java.util.Optional<java.util.TimeZone> |
getTimeZone() |
boolean |
isWriteDatesAsTimestamps()
Whether to write dates as time stamps.
|
static final java.lang.String PREFIX
java.util.Optional<java.lang.String> getDateFormat()
@Bindable(defaultValue="true") boolean isWriteDatesAsTimestamps()
true
.
If set to false
the default ISO formats will be used to format dates as strings.
DateTimeFormatter
java.util.Optional<java.util.Locale> getLocale()
java.util.Optional<java.util.TimeZone> getTimeZone()
@Bindable(defaultValue="io.micronaut") java.util.List<java.lang.String> getIncludedIntrospectionPackages()
Serdeable
annotation.