Skip to content

Add method remove(JsonPointer) in ContainerNode (if not JsonNode) #1981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cowtowncoder opened this issue Mar 23, 2018 · 0 comments
Open
Labels
3.0 Issue planned for initial 3.0 release

Comments

@cowtowncoder
Copy link
Member

(note: related to #1980)

With addition of JsonPointer, it seems reasonable to allow removal of a node pointed to by expression.

Addition of a method that returns JsonNode removed (or null to indicate none) is simple enough.
But one question is whether this should be added in JsonNode (more convenient) or only in ContainerNode (which is philosophically better, given JsonNode currently only contains read-methods and no modifications).

@cowtowncoder cowtowncoder added 3.x Issues to be only tackled for Jackson 3.x, not 2.x ACTIVE labels Mar 23, 2018
@cowtowncoder cowtowncoder added 3.0 Issue planned for initial 3.0 release and removed 3.x Issues to be only tackled for Jackson 3.x, not 2.x labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 Issue planned for initial 3.0 release
Projects
None yet
Development

No branches or pull requests

1 participant