dave
01/07/2021, 7:50 PMandyg
01/07/2021, 7:57 PMval myBodyLens : BiDiBodyLens<MyObjectType> = Body.auto<MyObjectType>().toLens()
myBodyLens.inject(myObject, Response(Status.OK))
dave
01/07/2021, 10:30 PMandyg
01/08/2021, 5:48 AMQ. Where is the Body.auto method defined?
and still can't find the code.defaultContentType
is indeed APPLICATION_JSON
... can I suggest adding that info to the json docs page? https://www.http4k.org/guide/modules/json/ thanksdave
01/08/2021, 8:37 AMandyg
01/13/2021, 12:37 AMdave
01/13/2021, 7:11 AM