java.lang.Object
com.netflix.spinnaker.clouddriver.kubernetes.description.JsonPatch

public class JsonPatch extends Object
  • Constructor Details

    • JsonPatch

      public JsonPatch()
  • Method Details

    • escapeNode

      public static String escapeNode(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: