kotlinx-datetime
kotlinx-datetime copied to clipboard
Rework the serializers using the DateTimeFormat API
- Default serializers are separated from the ISO serializers, which now mirror the behavior of
Formats.ISOinstead oftoString/parse. - New API: custom serializers parameterized with a
DateTimeFormat. - Serial names are properly distinct for incompatible formats.
Fixes #350 Fixes #351 Fixes #416