Skip to content

Commit 15a5caa

Browse files
committed
Merge remote-tracking branch 'origin/master' into dev
2 parents b275a2d + c8c14c9 commit 15a5caa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/serializers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ All the previous approaches to specifying custom serialization strategies were _
815815
fully defined at compile-time. The exception was the [Passing a serializer manually](#passing-a-serializer-manually)
816816
approach, but it worked only on a top-level object. You might need to change the serialization
817817
strategy for objects deep in the serialized object tree at run-time, with the strategy being selected in a context-dependent way.
818-
For example, you might want to represent `java.util.Date` in JSON format as an ISO 6801 string or as a long integer
818+
For example, you might want to represent `java.util.Date` in JSON format as an ISO 8601 string or as a long integer
819819
depending on a version of a protocol you are serializing data for. This is called _contextual_ serialization, and it
820820
is supported by a built-in [ContextualSerializer] class. Usually we don't have to use this serializer class explicitly—there
821821
is the [Contextual] annotation providing a shortcut to
@@ -933,7 +933,7 @@ object ProjectSerializer
933933
```
934934

935935
You must bind this serializer to a class using one of the approaches explained in this chapter. We'll
936-
follow the [Passing a serializer manually](#passing-a-serializer-manually) appraoch for this example.
936+
follow the [Passing a serializer manually](#passing-a-serializer-manually) approach for this example.
937937

938938
```kotlin
939939
fun main() {

0 commit comments

Comments
 (0)