jeudi 7 mars 2019

How to convert generic potentially nested Map[String, Any] to case class using any library in Scala?

I've not had much joy with reflection, nor shapeless Shapeless code to convert Map[String, Any] to case class cannot handle optional substructures

Does anyone know of a nice library that does this in just a few LOCs?





Aucun commentaire:

Enregistrer un commentaire