We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
]
}
(note: found as part of work on FasterXML/jackson-databind#4902 to enable "fail on extra tokens" DeserializationFeature).
DeserializationFeature
So: odd failures seen for tests:
[ERROR] TestSubtypesExternalPropertyMissingProperty.testDeserializationNull:141->checkOrangeBoxNull:232 » JsonParse Unexpected close marker '}': expected ']' (for root starting at [Source: (String)"{"type":"orange","fruit":null}}"; line: 1, column: 0])
which is due to ReaderBasedJsonParser (and others), on:
ReaderBasedJsonParser
private void _closeScope(int i) throws IOException { if (i == INT_RBRACKET) { _updateLocation(); if (!_parsingContext.inArray()) { _reportMismatchedEndMarker(i, '}'); } _parsingContext = _parsingContext.clearAndGetParent(); _updateToken(JsonToken.END_ARRAY); } ... }
in which check is assuming there always IS a start marker -- but fails to consider case where there is no open scope. It should.
This needs to be checked against all 4 backends
The text was updated successfully, but these errors were encountered:
DeserializationFeature.FAIL_ON_TRAILING_TOKENS
true
Fix #1394: bad error for extra close marker
3cdfc8b
27c1215
No branches or pull requests
(note: found as part of work on FasterXML/jackson-databind#4902 to enable "fail on extra tokens"
DeserializationFeature
).So: odd failures seen for tests:
which is due to
ReaderBasedJsonParser
(and others), on:in which check is assuming there always IS a start marker -- but fails to consider case where there is no open scope. It should.
This needs to be checked against all 4 backends
The text was updated successfully, but these errors were encountered: