contribute to tofu derevo for more convenient usage of zio-json library(as now circe wins here)
kuzkdmy opened this issue · 1 comments
kuzkdmy commented
There is a need to contribute to tofu derevo
https://github.com/tofu-tf/derevo/tree/master/modules
Right now with circe we can do like this, and this is much more convenient especially for newtype classes where encoder/decoder will never be changed during application lifetime
Thanks
guizmaii commented
@kuzkdmy zio-json provides a @jsonDerive
macro to do the exact same thing. See https://zio.dev/zio-json/configuration#jsonderive