corda / net.corda.core.serialization / SerializationContext / withWhitelisted

withWhitelisted

abstract fun withWhitelisted(clazz: Class<*>): SerializationContext

Helper method to return a new context based on this context with the given class specifically whitelisted.