Class JsonPointerUtil

java.lang.Object
org.apache.johnzon.core.JsonPointerUtil

public final class JsonPointerUtil extends Object
  • Constructor Details

    • JsonPointerUtil

      private JsonPointerUtil()
  • Method Details

    • encode

      public static String encode(String s)
      Transforms "~" to "~0" and then "/" to "~1"
    • decode

      public static String decode(String s)
      Transforms "~1" to "/" and then "~0" to "~",
    • replace

      private static String replace(String src, String from, String to)