Class JsonPatch
java.lang.Object
com.netflix.spinnaker.clouddriver.kubernetes.description.JsonPatch
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeNode(String node) Returns an escaped JSON path node for use in a JSON pointer as defined in RFC6901
-
Constructor Details
-
JsonPatch
public JsonPatch()
-
-
Method Details
-
escapeNode
Returns an escaped JSON path node for use in a JSON pointer as defined in RFC6901~ is replaced by ~0 / is replaced by ~1
- Parameters:
node- a node to be used as part of a JSON pointer- Returns:
- the node with escaped characters
- See Also:
-