Skip to content

Commit

Permalink
Fix misspelling in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eld0727 committed Oct 23, 2017
1 parent c85d2eb commit 3c8e44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ implicit val fooReader = jsonWriter[Foo] {
describe {
//Any functions are allowed in lambdas
ReaderBuilder[Foo]
.extractReader(_.c).from(_.a)('otherField].as[String]) { // provide reader for Any field
.extractReader(_.c).from(_.a)('otherField.as[String]) { // provide reader for Any field
case (1, "str") => JsonReader[String]
case (_, "int") => JsonReader[Int]
case _ => JsonReader[Option[Boolean]]
Expand Down

0 comments on commit 3c8e44d

Please sign in to comment.