Skip to content

[2.7] Add back-references to JsonParser / JsonGenerator for low-level parsing issues #198

@cowtowncoder

Description

@cowtowncoder

When JSON encoding/decoding fails, it would make sense to have access to the underlying parser/generator, from catch block. Although instance may not be in mint condition (depending on how error handling within Jackson works), it might still give useful low-level information on actual failure, above and beyond what location information Exception itself contains.
For example: JsonParser.getCurrentName() may be available, as we all JsonParser.getParsingContext().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions