Class JsonPointerUtil

java.lang.Object
com.helixframework.delta.internal.path.JsonPointerUtil

public final class JsonPointerUtil extends Object
  • Field Details

  • Method Details

    • append

      public static String append(String basePath, String rawToken)
    • parentPath

      public static String parentPath(String path)
    • ancestors

      public static List<String> ancestors(String path)
    • tokens

      public static List<String> tokens(String path)
    • escape

      public static String escape(String token)
    • unescape

      public static String unescape(String token)
    • matchesOrContains

      public static boolean matchesOrContains(String configuredPath, String candidatePath)
    • isArrayIndex

      public static boolean isArrayIndex(String token)
    • arrayIndex

      public static int arrayIndex(String token)
    • containsArrayIndex

      public static boolean containsArrayIndex(String path)
    • comparePathsForDisplay

      public static int comparePathsForDisplay(DeltaChange left, DeltaChange right)
    • putValueAtPath

      public static void putValueAtPath(com.fasterxml.jackson.databind.node.ObjectNode root, String path, com.fasterxml.jackson.databind.JsonNode value, com.fasterxml.jackson.databind.node.JsonNodeFactory nodeFactory)