You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the invalid json string { // a StringIndexOutOfBoundsException will be generated as the parser will skip to the end of the line, past the end of the string, and attempt to access the character at index 5. I would expect to get a ParseException in this case, not the StringIndexOutOfBoundsException that is raised.
note: sorry about the notif being weird, i hit the wrong keys because IDE
The text was updated successfully, but these errors were encountered:
RogueLogix
changed the title
Some invalid JSON can result in an Index OutOfBoundsException instead of a ParseException
Some invalid JSON can result in a StringIndexOutOfBoundsException instead of a ParseException
Jan 15, 2021
Given the invalid json string
{ //
a StringIndexOutOfBoundsException will be generated as the parser will skip to the end of the line, past the end of the string, and attempt to access the character at index 5. I would expect to get a ParseException in this case, not the StringIndexOutOfBoundsException that is raised.note: sorry about the notif being weird, i hit the wrong keys because IDE
The text was updated successfully, but these errors were encountered: