Skip to content

JSON snapshots differ with Jackson 2.16 #162

@TobiX

Description

@TobiX

As far as I can see this was broken with FasterXML/jackson-core#1042: The way how spacing is handled in Jackson's PrettyPrinter changed, so https://github.com/origin-energy/java-snapshot-testing/blob/master/java-snapshot-testing-plugin-jackson/src/main/java/au/com/origin/snapshots/jackson/serializers/v1/JacksonSnapshotSerializer.java#L35-L41 doesn't work anymore?!?

I might try to work on a fix. Do you need compatibility with older versions of Jackson or should I just switch to the new API?

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