Contextual

annotation class Contextual

Instructs the plugin to use ContextualSerializer on a given property or type. Context serializer is usually used when serializer for type can only be found in runtime. It is also possible to apply ContextualSerializer to every property of the given type, using file-level UseContextualSerialization annotation.

See also

Constructors

Link copied to clipboard
fun Contextual()