diff --git a/parser/src/main/scala/jawn/Parser.scala b/parser/src/main/scala/jawn/Parser.scala index 54b5b3ec..3f1e32bc 100644 --- a/parser/src/main/scala/jawn/Parser.scala +++ b/parser/src/main/scala/jawn/Parser.scala @@ -375,7 +375,7 @@ abstract class Parser[J] { case 'n' => (parseNull(i), i + 4) // invalid - case _ => die(i, "expected json value") + case _ => die(i, "expected json value", 1) } /**