Pere Villega's blog

If at first you don’t succeed, call it version 1.0

Enums to JSON in Scala

Scala gives the developer the possibility of using Enumerations. If they should be used or if Case Classes are better is a debate I'm not going to start here. They exist and they can be used.