Uses of Class
org.cdk8s.JsonPatch
-
-
Uses of JsonPatch in org.cdk8s
Methods in org.cdk8s that return JsonPatch Modifier and Type Method Description static JsonPatch
JsonPatch. add(String path, Object value)
Adds a value to an object or inserts it into an array.static JsonPatch
JsonPatch. copy(String from, String path)
Copies a value from one location to another within the JSON document.static JsonPatch
JsonPatch. move(String from, String path)
Moves a value from one location to the other.static JsonPatch
JsonPatch. remove(String path)
Removes a value from an object or array.static JsonPatch
JsonPatch. replace(String path, Object value)
Replaces a value.static JsonPatch
JsonPatch. test(String path, Object value)
Tests that the specified value is set in the document.Methods in org.cdk8s with parameters of type JsonPatch Modifier and Type Method Description void
ApiObject. addJsonPatch(@NotNull JsonPatch... ops)
Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.static Object
JsonPatch. apply(Object document, @NotNull JsonPatch... ops)
Applies a set of JSON-Patch (RFC-6902) operations to `document` and returns the result.
-