Package io.micronaut.serde.config
Interface SerializationConfiguration
public interface SerializationConfiguration
Configuration for serialization.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Field Details
-
PREFIX
- See Also:
-
-
Method Details
-
getInclusion
- Returns:
- The default inclusion to use. Defaults to
SerdeConfig.SerInclude.NON_EMPTY
.
-
isAlwaysSerializeErrorsAsList
@Bindable(defaultValue="true") boolean isAlwaysSerializeErrorsAsList()- Returns:
- Whether to serialize errors as a list.
- See Also:
-
JsonError
-