All Types

dev.zacsweers.moshisealed.annotations.DefaultNull

Use this annotation to specify that a given sealed type's deserialization should default to null.

dev.zacsweers.moshisealed.annotations.DefaultObject

Use this annotation to specify specific object subtype to be the default instance.

dev.zacsweers.moshisealed.annotations.TypeLabel

Use this annotation to specify the type label of a subtype.