Play Framework Scala format large JSON (No unapply or unapplySeq function found)

后端 未结 3 1264
感情败类
感情败类 2021-01-11 15:33

I need to receive a big JSON on my server (more than 22 fields). I have a case class with a lot of fields:

case class Filters(objectType: Option[String] = No         


        
3条回答
  •  死守一世寂寞
    2021-01-11 16:05

    I had the same pb and find a solution by using

    Jsonx.formatCaseClass[Filters]
    

    The explication can be found https://harrylaou.com/playframework/bigjson/

提交回复
热议问题