File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -815,7 +815,7 @@ All the previous approaches to specifying custom serialization strategies were _
815815fully defined at compile-time. The exception was the [Passing a serializer manually](#passing-a-serializer-manually)
816816approach, but it worked only on a top-level object. You might need to change the serialization
817817strategy 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
819819depending on a version of a protocol you are serializing data for. This is called _contextual_ serialization, and it
820820is supported by a built-in [ContextualSerializer] class. Usually we don' t have to use this serializer class explicitly —there
821821is the [Contextual ] annotation providing a shortcut to
@@ -933,7 +933,7 @@ object ProjectSerializer
933933```
934934
935935You 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
939939fun main () {
You can’t perform that action at this time.
0 commit comments