Skip to content

Add method remove(JsonPointer) in ContainerNode #1981

@cowtowncoder

Description

@cowtowncoder

(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).

Metadata

Metadata

Assignees

Labels

3.1most-wantedTag to indicate that there is heavy user +1'ing action

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions