Answer by Travis Brown for Parse a case class containing an HList into a JSON...
Yes, circe can do this, but you'll need to change your case class to make it hold on to more information about the HList:import shapeless._case class Foo[L <: HList](param1: String, param2: L)And...
View ArticleParse a case class containing an HList into a JSON string, using Circe
I'm doing a thing in Scala. I have the following case class:import shapeless._case class Foo(param1: String, param2: HList)I'd like to obtain a JSON representation of this type, using Circe. I'd also...
View Article
More Pages to Explore .....