Field Notes

Series

Learning enumeratum

A hands-on, lesson-by-lesson walk through enumeratum, the Scala library that turns sealed traits into real enums: autogenerated values, safe parsing from strings, and integrations with JSON and databases. Each post starts from runnable sbt code on Scala 2.13 and compares it with what plain Scala gives you, scala.Enumeration and hand-rolled case objects, so you see why teams reach for it.

3 posts · 14 min total · updated 16 Oct 2026

Next in this series: Stay tuned! — coming soon.

← All topics