Configuration Reference
Version:1.0.1
Serde Api Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.util.Optional |
The date format to use when serializing and deserializing dates. @return the date format to use |
|
boolean |
Whether to write dates as time stamps. Defaults to {@code true}. <p>If set to {@code false} the default ISO formats will be used to format dates as strings.</p> @see java.time.format.DateTimeFormatter @return Whether to write dates as timestamps |
|
java.util.Optional |
@return The default locale to use. |
|
java.util.Optional |
@return The default time zone to use. |
|
java.util.List |
The packages containing introspections that should be regarded as serializable by default without the need to add the Serdeable annotation. @return the packages to include |
Property | Type | Description |
---|---|---|
|
@return The default inclusion to use. Defaults to {@link SerdeConfig.SerInclude#NON_EMPTY}. |
|
|
boolean |
@return Whether to serialize errors as a list. @see io.micronaut.http.hateoas.JsonError |
Property | Type | Description |
---|---|---|
|
boolean |
Whether to ignore unknown values during deserialization. @return True if unknown values should simply be ignored. |
|
int |
@return The array size thresh hold for use in binding. Defaults to {@code 100}. |