https://kotlinlang.org logo
#http4k
Title
# http4k
k

kushalp

10/16/2019, 2:05 PM
If I have a lens with the following signature
val responseBody = Body.auto<MyCustomDataClass>().toLens()
how can I provide it an instance of
MyCustomDataClass
and get the serialised JSON back? (as a
String
)