maxNestingDepth

Maximum structural nesting depth the typed encoder/decoder will descend before throwing a kotlinx.serialization.SerializationException, instead of overflowing the call stack on a deeply nested recursive @Serializable type. Defaults to 128. See DerConfiguration.maxNestingDepth.