com.r3corda.core.serialization / noReferencesWithin

# noReferencesWithin

`inline fun <reified T : Any> <ERROR CLASS>.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.