FasterXML / jackson-module-kotlin

Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
Apache License 2.0
1.12k stars 175 forks source link

Modified to use `Converter` in `Sequence` serialization #675

Closed k163377 closed 1 year ago

k163377 commented 1 year ago

Serialization of Sequence has been modified to use Converter instead of Serializer. With this change, JsonSerialize(contentUsing = ...), etc., will work for Collection as well as for Sequence.

This issue is related to #671. Also, for #674, fixes a problem with serialization of Sequence created by the sequenceOf function.