UseContextualSerialization

@Target(allowedTargets = [AnnotationTarget.FILE])
annotation class UseContextualSerialization(val forClasses: KClass<*>)

Instructs the plugin to use ContextualSerializer for every type in the current file that is listed in the forClasses.

See also

Constructors

Link copied to clipboard
fun UseContextualSerialization(vararg forClasses: KClass<*>)

Properties

Link copied to clipboard
val forClasses: Array<out KClass<*>>