NONE

Never include class discriminator in the output.

This mode is generally intended to produce JSON for consumption by third-party libraries. kotlinx.serialization is unable to deserialize polymorphic classes without class discriminators, so it is impossible to deserialize JSON produced in this mode if a data model has polymorphic classes.

Properties

Link copied to clipboard
Link copied to clipboard