Skip to content

Commit 2a4ce55

Browse files
authored
Fix typo in serializers.md (#1307)
In the document, ISO 6801 is modified to ISO 8601. The date and time format standard is ISO 8601, not ISO 6801.
1 parent b6eaad1 commit 2a4ce55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/serializers.md

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)