Skip to content

Remove "impossible" IOException in readTree() and readValue() ObjectMapper methods which accept StringsΒ #1675

@ghost

Description

Unless I'm missing something, methods which read from Strings should never be able to throw an IOException. It seems like it would be a nice API improvement if such ObjectMapper no longer threw the (checked) IOException, which must be explicitly handled and ignored. I'm not 100% sure, but this might also apply to the byte[] methods as well.

Relevant methods:

  • readTree(String)
  • readValue(String, _)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions