We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
JsonPatch
JsonPatch is only used internally so users can't access it and its subclasses.
centraldogma/common/src/main/java/com/linecorp/centraldogma/internal/jsonpatch/JsonPatch.java
Line 123 in e8ece8f
If it is exposed as a public API, users could create JSON patch operations more easily. For example:
final TextNode emailNode = new TextNode(newEmail); final JsonPointer jsonPointer = JsonPointer.compile( "/user/" + userId + "/email"); final ReplaceOperation replace = new ReplaceOperation(jsonPointer, emailNode); final JsonNode jsonNode = replace.toJsonNode(); changes.add(Change.ofJsonPatch("/some/path", jsonNode));
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
JsonPatch
is only used internally so users can't access it and its subclasses.centraldogma/common/src/main/java/com/linecorp/centraldogma/internal/jsonpatch/JsonPatch.java
Line 123 in e8ece8f
If it is exposed as a public API, users could create JSON patch operations more easily.
For example:
The text was updated successfully, but these errors were encountered: