Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of git:argonaut

  • Loading branch information...
commit 770e0dd060b18c796e681f8397dde7ef63682a28 2 parents 10a579b + 8c3bd85
@markhibberd markhibberd authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/scala/com/ephox/argonaut/JsonObject.scala
View
2  src/main/scala/com/ephox/argonaut/JsonObject.scala
@@ -134,7 +134,7 @@ trait JsonObjects {
* The lens to the JSON value.
*/
def jsonObjectL(f: JsonField): JsonObject @> Option[Json] =
- InsertionMap.insertionMapL(f).xmapA(JsonObject(_), _.toMap)
+ InsertionMap.insertionMapL(f).xmapA((m: InsertionMap[JsonField, Json]) => JsonObject(m))(_.toMap)
/**
* The partial lens to the JSON value.
Please sign in to comment.
Something went wrong with that request. Please try again.