summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLeonid Startsev <sandwwraith@gmail.com>2018-03-07 16:57:03 +0300
committerLeonid Startsev <sandwwraith@gmail.com>2018-03-07 17:12:46 +0300
commit99bac0b038fc3e50cc8390f9d58e777bdfeea886 (patch)
treed3d20116610336025feeccc61230b6214ca087de /docs
parent537f50fcc2d89dc6557c2b676dfae6dcf4fcfb77 (diff)
downloadkotlinx.serialization-99bac0b038fc3e50cc8390f9d58e777bdfeea886.tar.gz
Added compatibility note
Diffstat (limited to 'docs')
-rw-r--r--docs/runtime_usage.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/runtime_usage.md b/docs/runtime_usage.md
index 8928e0fa..85d15527 100644
--- a/docs/runtime_usage.md
+++ b/docs/runtime_usage.md
@@ -4,7 +4,7 @@
Serializers are represented at runtime as `KSerializer<T>`, which in turn, implements interfaces `KSerialSaver<T>` and `KSerialLoader<T>`, where `T` is class you serialize.
You don't need to call them by yourself; you just have to pass them properly to serialization format. You can write them on your own (see [custom serializers](custom_serializers.md)) or let the compiler plugin do the dirty work by marking class `@Serializable`.
-To retrieve the generated serializer, plugin emits special function on companion object called `.serializer()`. (This synthetic function is relatively new and stable release of compiler may not able to see it in some cases; if you have some issues, try eap version of `1.2.20`).
+To retrieve the generated serializer, plugin emits special function on companion object called `.serializer()`.
If your class has generic type arguments, this function will have arguments for specifying serializers on type parameters, because it's impossible to serialize generic class statically in general case:
```kotlin