Class UserSerdes
java.lang.Object
io.micronaut.serde.util.UserSerdes
The serde classes a registry resolved from beans of the application, as opposed to the serdes Micronaut
Serialization registers itself and the generated serdes. A user serde can keep the context it is specialized
with, or state of one document, and can change how a value is read, so the shortcuts that skip it are not taken.
- Since:
- 3.3.0
-
Method Summary
-
Method Details
-
mark
Records that the registry resolved a serde of this class from a bean of the application.- Parameters:
serdeType- The class of the serde
-
isUser
- Parameters:
serdeType- The class of a serde- Returns:
- Whether a registry resolved a serde of this class from a bean of the application
-