Skip to content

Commit 0374154

Browse files
Make value attr of PathValueOperation accessible
1 parent 367442a commit 0374154

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/github/fge/jsonpatch/operation/PathValueOperation.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,8 @@ public final String toString()
8282
{
8383
return "op: " + getOp() + "; path: \"" + getPath() + "\"; value: " + value;
8484
}
85+
86+
public JsonNode getValue() {
87+
return value.deepCopy();
88+
}
8589
}

0 commit comments

Comments
 (0)