corda / net.corda.core.serialization / com.esotericsoftware.kryo.Kryo / noReferencesWithin

# noReferencesWithin

`inline fun <reified T : Any> Kryo.noReferencesWithin(): Unit`

Use this method to mark any types which can have the same instance within it more than once. This will make sure the serialised form is stable across multiple serialise-deserialise cycles. Using this on a type with internal cyclic references will throw a stack overflow exception during serialisation.