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
Since we already include contents when read from String, it seems reasonable to do about the same for byte[] (assume UTF-8) and char[] sources.
But it'd also make sense to add a JsonParser.Feature to allow disabling inclusion of content, for security reasons.
The text was updated successfully, but these errors were encountered:
Added JsonParser.Feature.INCLUDE_SOURCE_IN_LOCATION (default: true), disabling of which will prevent addition of source reference, usually for security reasons.
Also: maximum content snippet displayed limited to 500 characters.
cowtowncoder
changed the title
Improve indication of "source" for errors wrt byte[],char[] / JsonLocation
Improve indication of "source reference" for errors wrt byte[],char[] / JsonLocationFeb 23, 2017
cowtowncoder
changed the title
Improve indication of "source reference" for errors wrt byte[],char[] / JsonLocation
Improve indication of "source reference" in JsonLocation wrt byte[],char[]Feb 23, 2017
(note: inspired by #343)
Since we already include contents when read from
String
, it seems reasonable to do about the same forbyte[]
(assume UTF-8) andchar[]
sources.But it'd also make sense to add a
JsonParser.Feature
to allow disabling inclusion of content, for security reasons.The text was updated successfully, but these errors were encountered: