diff options
author | Leonid Startsev <sandwwraith@gmail.com> | 2018-11-08 19:05:36 +0300 |
---|---|---|
committer | Leonid Startsev <sandwwraith@gmail.com> | 2018-11-08 19:05:36 +0300 |
commit | 12a0003a516171f39b85c7381c4442c030c5d5ec (patch) | |
tree | 876f36000f03a1ea73e09dca7636ae362fc5cd45 /docs | |
parent | 6d4016bd8b2f45c3d2167f16055c6cdb59ea28ad (diff) | |
download | kotlinx.serialization-12a0003a516171f39b85c7381c4442c030c5d5ec.tar.gz |
Fix local K/N setup and some typos
Diffstat (limited to 'docs')
-rw-r--r-- | docs/custom_serializers.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/custom_serializers.md b/docs/custom_serializers.md index 2d956cc8..aa444023 100644 --- a/docs/custom_serializers.md +++ b/docs/custom_serializers.md @@ -87,7 +87,8 @@ override fun serialize(output: Encoder, obj: BinaryPayload) { } ``` -Deserializing a class with multiple values is a complex task, mainly because you don't know the order of fields in the input stream in advance. So crucial part here is make a `when` over index of an incoming element: +Deserializing a class with multiple values is a complex task, mainly because you don't know the order of fields in the input stream in advance. +So crucial part here is to make a `when` over an index of an incoming element: ```kotlin override fun deserialize(input: Decoder): BinaryPayload { |