Class JsonPointer


  • public final class JsonPointer
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.hamnaberg.json.Json.JValue add​(net.hamnaberg.json.Json.JValue json, net.hamnaberg.json.Json.JValue value)  
      static JsonPointer compile​(java.lang.String pattern)  
      net.hamnaberg.json.Json.JValue copy​(net.hamnaberg.json.Json.JValue json, JsonPointer from)  
      net.hamnaberg.json.Json.JValue move​(net.hamnaberg.json.Json.JValue json, JsonPointer from)  
      net.hamnaberg.json.Json.JValue remove​(net.hamnaberg.json.Json.JValue json)  
      net.hamnaberg.json.Json.JValue replace​(net.hamnaberg.json.Json.JValue json, net.hamnaberg.json.Json.JValue value)  
      java.util.Optional<net.hamnaberg.json.Json.JValue> select​(net.hamnaberg.json.Json.JValue value)  
      boolean test​(net.hamnaberg.json.Json.JValue json, net.hamnaberg.json.Json.JValue value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • compile

        public static JsonPointer compile​(java.lang.String pattern)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • select

        public java.util.Optional<net.hamnaberg.json.Json.JValue> select​(net.hamnaberg.json.Json.JValue value)
      • add

        public net.hamnaberg.json.Json.JValue add​(net.hamnaberg.json.Json.JValue json,
                                                  net.hamnaberg.json.Json.JValue value)
      • remove

        public net.hamnaberg.json.Json.JValue remove​(net.hamnaberg.json.Json.JValue json)
      • replace

        public net.hamnaberg.json.Json.JValue replace​(net.hamnaberg.json.Json.JValue json,
                                                      net.hamnaberg.json.Json.JValue value)
      • copy

        public net.hamnaberg.json.Json.JValue copy​(net.hamnaberg.json.Json.JValue json,
                                                   JsonPointer from)
      • move

        public net.hamnaberg.json.Json.JValue move​(net.hamnaberg.json.Json.JValue json,
                                                   JsonPointer from)
      • test

        public boolean test​(net.hamnaberg.json.Json.JValue json,
                            net.hamnaberg.json.Json.JValue value)