FasterXML / FasterXML/jackson-module-scala
Sealed hierarchy of case classes serialization won't work
Open
- Dominant language
- Scala
- Stars
- 506
- Forks
- 138
- Avg merge
- 3h 6m
- Merged PRs (30d)
- 48
Description
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.