FasterXML / FasterXML/jackson-module-scala
Sealed hierarchy of case classes serialization won't work
Offen
- Vorherrschende Sprache
- Scala
- Sterne
- 506
- Forks
- 138
- Ø Merge
- 3 Std. 6 Min.
- Gemergte PRs (30 T.)
- 48
Beschreibung
Sealed hierarchy of case classes are widely used in Scala, however in Jackson-Scala they don't seem to be supported.
We are looking for a workaround: when we try to add custom serializers / deserializers for our sealed trait and then use the default "serializers" for the subclasses, the serializers/deserializers for the trait take higher priority and this results in a Stackoverflow error.
Is there a solution for this?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.