FasterXML / FasterXML/jackson-module-scala
Sealed hierarchy of case classes serialization won't work
Abierto
- Lenguaje dominante
- Scala
- Estrellas
- 506
- Forks
- 138
- Merge medio
- 3 h 6 min
- PR fusionados (30 d)
- 48
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.