We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a41b3ba + 5224cb3 commit ce5e516Copy full SHA for ce5e516
src/main/java/com/jsoniter/IterImplString.java
@@ -59,7 +59,7 @@ public static final String readString(JsonIterator iter) throws IOException {
59
IterImpl.skipFixedBytes(iter, 3);
60
return null;
61
}
62
- iter.reportError("readString", "expect string or null, but " + (char) c);
+ throw iter.reportError("readString", "expect string or null, but " + (char) c);
63
64
int j = parse(iter);
65
return new String(iter.reusableChars, 0, j);
0 commit comments