Class JsonPatch
- java.lang.Object
-
- com.netflix.spinnaker.clouddriver.kubernetes.description.JsonPatch
-
public class JsonPatch extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonPatch.Op
-
Constructor Summary
Constructors Constructor Description JsonPatch()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringescapeNode(java.lang.String node)Returns an escaped JSON path node for use in a JSON pointer as defined in RFC6901
-
-
-
Method Detail
-
escapeNode
public static java.lang.String escapeNode(java.lang.String node)
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:
- RFC6901, section 3
-
-