diff --git a/src/Language/JSON/Assignment.hs b/src/Language/JSON/Assignment.hs index a9dc49e3a..c2cd01fbe 100644 --- a/src/Language/JSON/Assignment.hs +++ b/src/Language/JSON/Assignment.hs @@ -36,7 +36,7 @@ assignment :: Assignment assignment = Syntax.handleError (value <|> parseError) value :: Assignment -value = symbol Value *> children (object <|> array <|> number <|> string <|> boolean <|> none) +value = symbol Value *> children (object <|> array) jsonValue :: Assignment jsonValue = object <|> array <|> number <|> string <|> boolean <|> none