Class JsonPatchBuilderImpl

  • All Implemented Interfaces:
    jakarta.json.JsonPatchBuilder

    class JsonPatchBuilderImpl
    extends Object
    implements jakarta.json.JsonPatchBuilder
    • Constructor Detail

      • JsonPatchBuilderImpl

        JsonPatchBuilderImpl​(jakarta.json.spi.JsonProvider provider)
      • JsonPatchBuilderImpl

        JsonPatchBuilderImpl​(jakarta.json.spi.JsonProvider provider,
                             jakarta.json.JsonArray initialData)
    • Method Detail

      • add

        public jakarta.json.JsonPatchBuilder add​(String path,
                                                 jakarta.json.JsonValue value)
        Specified by:
        add in interface jakarta.json.JsonPatchBuilder
      • add

        public jakarta.json.JsonPatchBuilder add​(String path,
                                                 String value)
        Specified by:
        add in interface jakarta.json.JsonPatchBuilder
      • add

        public jakarta.json.JsonPatchBuilder add​(String path,
                                                 int value)
        Specified by:
        add in interface jakarta.json.JsonPatchBuilder
      • add

        public jakarta.json.JsonPatchBuilder add​(String path,
                                                 boolean value)
        Specified by:
        add in interface jakarta.json.JsonPatchBuilder
      • remove

        public jakarta.json.JsonPatchBuilder remove​(String path)
        Specified by:
        remove in interface jakarta.json.JsonPatchBuilder
      • replace

        public jakarta.json.JsonPatchBuilder replace​(String path,
                                                     jakarta.json.JsonValue value)
        Specified by:
        replace in interface jakarta.json.JsonPatchBuilder
      • replace

        public jakarta.json.JsonPatchBuilder replace​(String path,
                                                     String value)
        Specified by:
        replace in interface jakarta.json.JsonPatchBuilder
      • replace

        public jakarta.json.JsonPatchBuilder replace​(String path,
                                                     int value)
        Specified by:
        replace in interface jakarta.json.JsonPatchBuilder
      • replace

        public jakarta.json.JsonPatchBuilder replace​(String path,
                                                     boolean value)
        Specified by:
        replace in interface jakarta.json.JsonPatchBuilder
      • move

        public jakarta.json.JsonPatchBuilder move​(String path,
                                                  String from)
        Specified by:
        move in interface jakarta.json.JsonPatchBuilder
      • copy

        public jakarta.json.JsonPatchBuilder copy​(String path,
                                                  String from)
        Specified by:
        copy in interface jakarta.json.JsonPatchBuilder
      • test

        public jakarta.json.JsonPatchBuilder test​(String path,
                                                  jakarta.json.JsonValue value)
        Specified by:
        test in interface jakarta.json.JsonPatchBuilder
      • test

        public jakarta.json.JsonPatchBuilder test​(String path,
                                                  String value)
        Specified by:
        test in interface jakarta.json.JsonPatchBuilder
      • test

        public jakarta.json.JsonPatchBuilder test​(String path,
                                                  int value)
        Specified by:
        test in interface jakarta.json.JsonPatchBuilder
      • test

        public jakarta.json.JsonPatchBuilder test​(String path,
                                                  boolean value)
        Specified by:
        test in interface jakarta.json.JsonPatchBuilder
      • build

        public jakarta.json.JsonPatch build()
        Specified by:
        build in interface jakarta.json.JsonPatchBuilder
      • toJsonBoolean

        private static jakarta.json.JsonValue toJsonBoolean​(boolean value)
      • toJsonString

        private static jakarta.json.JsonValue toJsonString​(String value)
      • toJsonNumber

        private static jakarta.json.JsonValue toJsonNumber​(int value)