eed3si9n / sjson-new

a typeclass based JSON codec that's backend independent
Apache License 2.0
36 stars 19 forks source link

add boilerplate methods for case class Format #52

Closed xuwei-k closed 7 years ago

xuwei-k commented 7 years ago

sbt/contraband support auto generate sjsonnew Formats, it's useful. but I want to convenient methods like this. because there are times when I don't want to use contraband.

The API almost same as argonaut.CodecJsons, asProductN in sbinary, and my library(play-json-extras)

Here is generated CaseClassFormats.scala

related https://github.com/eed3si9n/sjson-new/issues/12