Skip to content

Consider different JSON library, jettison wants to escape slashes, cannot configure toString #74

Description

@jbfaden

We use the jettison library to format JSON, and I think we should consider a different library. Its default behavior is to escape slashes with a backslash (/), making output more difficult. This can be configured in output, though I know there are places where it would refuse to do this. Also, the toString method cannot be configured, making debugging more difficult.

Jackson is suggested by ChatGPT. I had a review of libraries years ago and I can't remember why I had to use jettison. Some libraries always sort the tags alphabetically, which is undesirable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions