Class JsonPointerUtil


  • public final class JsonPointerUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private JsonPointerUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String decode​(java.lang.String s)
      Transforms "~1" to "/" and then "~0" to "~",
      static java.lang.String encode​(java.lang.String s)
      Transforms "~" to "~0" and then "/" to "~1"
      private static java.lang.String replace​(java.lang.String src, java.lang.String from, java.lang.String to)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonPointerUtil

        private JsonPointerUtil()
    • Method Detail

      • encode

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

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

        private static java.lang.String replace​(java.lang.String src,
                                                java.lang.String from,
                                                java.lang.String to)