Skip to content

Instantly share code, notes, and snippets.

@sleepynate
Created July 30, 2013 23:36
Show Gist options
  • Select an option

  • Save sleepynate/6118008 to your computer and use it in GitHub Desktop.

Select an option

Save sleepynate/6118008 to your computer and use it in GitHub Desktop.

Revisions

  1. sleepynate created this gist Jul 30, 2013.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    [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(_))