Try jsoniter-scala - it supports more than 10K fields for a case class.

Here is a test for 100 required fields.

Also this library has great performance characteristics, here are results of benchmarks which compare it vs. Jackson, Circe and Play-JSON libraries using JDK 8:


You can use kebs library - it uses Scala macros to create JSON formats for you.

Here is example for case class with more than 22 fields:

Related Query

More Query from same tag