Created
July 30, 2013 23:36
-
-
Save sleepynate/6118008 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[error] app/models/Job.scala:22: ambiguous implicit values: | |
[error] both object IntReads in trait DefaultReads of type play.api.libs.json.Reads.IntReads.type | |
[error] and object LongReads in trait DefaultReads of type play.api.libs.json.Reads.LongReads.type | |
[error] match expected type play.api.libs.json.Reads[T] | |
[error] case Some(bs) => bs.map(Json.fromJson(_)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is the problem here? https://github.com/playframework/playframework/blob/master/framework/src/play-json/src/main/scala/play/api/libs/json/Reads.scala#L144
Does it need a case statement that checks for a
NumberFormatException
likeReads[BigDecimal]
does?