macrame.play
This trait provides an instance of Format for an enumeration. It works by extending the companion object of the enumeration class.
Format
@enum class Color { Red Blue Yellow } object Color extends JsonConverters[Color]
This trait provides an instance of
Format
for an enumeration. It works by extending the companion object of the enumeration class.