Mark Derricutt
unread,Nov 29, 2023, 5:46:17 PM11/29/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jackson-dev
Tatu,
When getting an JSON exception, even with source redacted - I was
wondering if it was possible to configure jackson to not even _mention_
the source, i.e instead of getting;
Unexpected end-of-input: expected close marker for Array (start marker
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION`
disabled); line: 1, column: 12])
just reporting:
Unexpected end-of-input: expected close marker for Array; line: 1,
column: 12
I couldn't see anything in the source to possible configure that, so am
looking at regexing it out myself, tho I'd rather not manually do this
for all exceptions if possible - I could seem to see any way of just
getting the base message, and line/column information from any
exceptions to build up my own message from fields either.