Jackson JSON Processor
  1. Jackson JSON Processor
  2. JACKSON-207

Add new deserialization feature that allows lazy error reporting for unhandled types

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Currently error is thrown during deserializer construction, if type of any property (implied by a setter, public field, or creator method) involved is unknown (no explicit mapping for abstract classes) or construction of deserializer fails (class has no public constructor etc).
      This is often good, since it surfaces problems early.
      However, sometimes it would be more useful to only indicate an error if matching property is encountered – it may be ok to have potential problems, but if such property is never encountered there is no need to fail deserialization.

      It should be fairly easy to add a feature that allows throwing of such exceptions be deferred until deserializer is needed.

        Activity

        Tatu Saloranta made changes -
        Field Original Value New Value
        Fix Version/s 1.3.1 [ 15939 ]
        Hide
        Tatu Saloranta added a comment -

        Closed, as no work has been done, no votes; should be re-created at github issue tracker if and as necessary.

        Show
        Tatu Saloranta added a comment - Closed, as no work has been done, no votes; should be re-created at github issue tracker if and as necessary.
        Tatu Saloranta made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Tatu Saloranta
            Reporter:
            Tatu Saloranta
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: