These are chat archives for hseeberger/akka-http-json

Aug 2018
Nishant Kelkar
Aug 07 2018 06:00
I wanted to know how I can serialize a collection of my case class within a post entity of my akka-http server.
I want it to take in a post request with a body, and convert the body into my case class model.
I tried using RootJsonFormat but I keep getting: The request content was malformed:
In my Postman2 app.
Nishant Kelkar
Aug 07 2018 06:24
Ugh, this is quite frustrating.
Andriy Plokhotnyuk
Aug 07 2018 12:04
@kelkarn have you tried integration with jsoniter-scala? in most cases just need to call make macro and a codec for whole nested structure of collections and case classes will be generated: