spray / spray-json

A lightweight, clean and simple JSON implementation in Scala
Apache License 2.0
969 stars 190 forks source link

example doc for enum and case objects #336

Open davideicardi opened 3 years ago

davideicardi commented 3 years ago

I have tried to add some documentation example on how to implement json formats for enumeration and case object types.

I think that both are quite common in Scala and providing an official example can be useful.

ndlarsen commented 3 years ago

This was actually quite helpful to me. Thank you

waagnermann commented 1 year ago

And on PR itself: why it's still not merged if @raboof and @ndlarsen say it's helpful?