Skip to content
This repository was archived by the owner on Jun 16, 2018. It is now read-only.
This repository was archived by the owner on Jun 16, 2018. It is now read-only.

Replace operation on Array is incorrectly parsed #16

Description

@martypitt

Given the following JsonPatch (modelled as a Jackson ArrayNode)

[{"op":"replace","path":"/stories","value":[{"id":"story1420386726248.278010"}]}]

when parsed into a Patch, the value of the ReplaceOperation is null

To parse, I'm simply doing:

Patch patch = new JsonPatchMaker().fromJsonNode(jsonPatch);

Screenshot of the debug session:

image

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