Package io.micronaut.serde.util
@NullMarked
package io.micronaut.serde.util
Shared utility types used by generated and runtime serialization code.
-
ClassDescriptionCommon implementations for reading/writing byte arrays.Marks the string deserializer Micronaut Serialization registers itself, which returns the string of the input unchanged.The type of deserializer that requires a specific implementation by calling
Deserializer.createSpecific(DecoderContext, Argument).The type of serializer that requires a specific implementation by callingSerializer.createSpecific(Serializer.EncoderContext, Argument).Tracks whether a serde created with the context of a document keeps that context, so that it must not serve other documents.Serdes kept for the duration of one document by the encoder or decoder context of the document.Document serdes kept by another context, such as the context a derived context delegates to.Marks the serializers and deserializers generated at build time.Enum helpers used by generated serdes.Exception helpers used by generated serdes.Result of a generated deserializer property dispatch.Fallback helpers used by generated serdes when a runtime object serde is required.Inclusion helpers used by generated serializers so that the globalmicronaut.serde.serialization.inclusionsetting is honored without falling back to the runtime object serializer for every simple shape.Lazy property serdes used by generated serdes for properties whose type can refer back to the generated type, such asList<Self>.Sub-interface ofDeserializerfor deserializers that allownullthroughNullableDeserializer.deserializeNullable(Decoder, DecoderContext, Argument).Specialization ofSerdefor types that allow a value ofnull.ReusableArgumentconstants and type helpers for generated and runtime serde code.Utility for resolving serde property access from serde and core introspection metadata.The serde classes a registry resolved from beans of the application, as opposed to the serdes Micronaut Serialization registers itself and the generated serdes.