Package io.fabric8.zjsonpatch
Interface JsonPatchProcessor
-
public interface JsonPatchProcessorThis class is ported from FlipKart zjsonpatch repository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(JsonPointer path, com.fasterxml.jackson.databind.JsonNode value)voidcopy(JsonPointer fromPath, JsonPointer toPath)voidmove(JsonPointer fromPath, JsonPointer toPath)voidremove(JsonPointer path)voidreplace(JsonPointer path, com.fasterxml.jackson.databind.JsonNode value)voidtest(JsonPointer path, com.fasterxml.jackson.databind.JsonNode value)
-
-
-
Method Detail
-
remove
void remove(JsonPointer path) throws JsonPointerEvaluationException
- Throws:
JsonPointerEvaluationException
-
replace
void replace(JsonPointer path, com.fasterxml.jackson.databind.JsonNode value) throws JsonPointerEvaluationException
- Throws:
JsonPointerEvaluationException
-
add
void add(JsonPointer path, com.fasterxml.jackson.databind.JsonNode value) throws JsonPointerEvaluationException
- Throws:
JsonPointerEvaluationException
-
move
void move(JsonPointer fromPath, JsonPointer toPath) throws JsonPointerEvaluationException
- Throws:
JsonPointerEvaluationException
-
copy
void copy(JsonPointer fromPath, JsonPointer toPath) throws JsonPointerEvaluationException
- Throws:
JsonPointerEvaluationException
-
test
void test(JsonPointer path, com.fasterxml.jackson.databind.JsonNode value) throws JsonPointerEvaluationException
- Throws:
JsonPointerEvaluationException
-
-