diff options
Diffstat (limited to 'src/main/scala/cc/spray/json/JsonParser.scala')
-rw-r--r-- | src/main/scala/cc/spray/json/JsonParser.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/cc/spray/json/JsonParser.scala b/src/main/scala/cc/spray/json/JsonParser.scala index 21b1d68..3886672 100644 --- a/src/main/scala/cc/spray/json/JsonParser.scala +++ b/src/main/scala/cc/spray/json/JsonParser.scala @@ -28,7 +28,7 @@ import java.lang.StringBuilder object JsonParser extends Parser { // the root rule - def Json = rule { WhiteSpace ~ Value ~ EOI } + lazy val Json = rule { WhiteSpace ~ Value ~ EOI } def JsonObject: Rule1[JsObject] = rule { "{ " ~ zeroOrMore(Pair, separator = ", ") ~ "} " ~~> (JsObject(_ :_*)) |