Package org.apache.johnzon.core
Class JsonPatchImpl
- java.lang.Object
-
- org.apache.johnzon.core.JsonPatchImpl
-
- All Implemented Interfaces:
jakarta.json.JsonPatch
class JsonPatchImpl extends Object implements jakarta.json.JsonPatch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
JsonPatchImpl.PatchValue
-
Field Summary
Fields Modifier and Type Field Description private jakarta.json.JsonArray
json
private List<JsonPatchImpl.PatchValue>
patches
private jakarta.json.spi.JsonProvider
provider
-
Constructor Summary
Constructors Constructor Description JsonPatchImpl(jakarta.json.spi.JsonProvider provider, List<JsonPatchImpl.PatchValue> patches)
JsonPatchImpl(jakarta.json.spi.JsonProvider provider, JsonPatchImpl.PatchValue... patches)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends jakarta.json.JsonStructure>
Tapply(T target)
boolean
equals(Object o)
int
hashCode()
jakarta.json.JsonArray
toJsonArray()
String
toString()
-
-
-
Field Detail
-
provider
private final jakarta.json.spi.JsonProvider provider
-
patches
private final List<JsonPatchImpl.PatchValue> patches
-
json
private volatile jakarta.json.JsonArray json
-
-
Constructor Detail
-
JsonPatchImpl
JsonPatchImpl(jakarta.json.spi.JsonProvider provider, JsonPatchImpl.PatchValue... patches)
-
JsonPatchImpl
JsonPatchImpl(jakarta.json.spi.JsonProvider provider, List<JsonPatchImpl.PatchValue> patches)
-
-