Skip to content

Commit

Permalink
Change error mesage to mention -INF (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Nov 8, 2023
1 parent 2d137d8 commit a0c853a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ protected String _validJsonTokenList() throws IOException {
@SuppressWarnings("deprecation")
protected String _validJsonValueList() throws IOException {
if (isEnabled(Feature.ALLOW_NON_NUMERIC_NUMBERS)) {
return "(JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false')";
return "(JSON String, Number (or 'NaN'/'+INF'/'-INF'), Array, Object or token 'null', 'true' or 'false')";
}
return "(JSON String, Number, Array, Object or token 'null', 'true' or 'false')";
}
Expand Down

0 comments on commit a0c853a

Please sign in to comment.