File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
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 _
815
815
fully defined at compile-time. The exception was the [Passing a serializer manually](#passing-a-serializer-manually)
816
816
approach, but it worked only on a top-level object. You might need to change the serialization
817
817
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
819
819
depending on a version of a protocol you are serializing data for. This is called _contextual_ serialization, and it
820
820
is supported by a built-in [ContextualSerializer] class. Usually we don' t have to use this serializer class explicitly —there
821
821
is the [Contextual ] annotation providing a shortcut to
You can’t perform that action at this time.
0 commit comments