UseContextualSerialization

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

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

See also

Properties

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