Open
Description
Let's be honest, this is a feature request, not a bug report.
Play-json currently supports Enumerations out of the box via methods like Json.formatEnum(X)
https://github.com/playframework/play-json/blob/main/play-json/shared/src/main/scala/play/api/libs/json/Reads.scala#L437
It would be great if the current Scala 3 way of doing enums: https://docs.scala-lang.org/scala3/reference/enums/enums.html would also be supported in a similar fashion.
Metadata
Assignees
Labels
No labels
Activity