0

I am trying to access some APIs , so when parsing Json responses, I followed the method described in this link

It seems well implemented, however when creating the case class models to map json with, I got this exception:

Implementation restriction: case classes cannot have more than 22 parameters.

Well models have to represent the same data as third tiers APIs which exceeds 22. So is there any clue to this issuse? I am new to scala and play, so i am not so familiar with case classes.

4

1 回答 1

0

此问题已在 Scala 版本 2.11.0 中修复,在https://issues.scala-lang.org/browse/SI-7296进行了跟踪

于 2016-01-28T07:24:57.897 回答