Package org.apache.johnzon.core
Class JsonMergePatchDiff
- java.lang.Object
-
- org.apache.johnzon.core.DiffBase
-
- org.apache.johnzon.core.JsonMergePatchDiff
-
- All Implemented Interfaces:
Serializable
class JsonMergePatchDiff extends DiffBase
Creates a JsonMergePatch as diff between two JsonValues
-
-
Field Summary
Fields Modifier and Type Field Description private BufferStrategy.BufferProvider<char[]>
bufferProvider
private JsonProviderImpl
provider
private jakarta.json.JsonValue
source
private jakarta.json.JsonValue
target
-
Constructor Summary
Constructors Constructor Description JsonMergePatchDiff(jakarta.json.JsonValue source, jakarta.json.JsonValue target, BufferStrategy.BufferProvider<char[]> bufferProvider, JsonProviderImpl provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.json.JsonMergePatch
calculateDiff()
private jakarta.json.JsonValue
diff(jakarta.json.JsonValue source, jakarta.json.JsonValue target)
-
Methods inherited from class org.apache.johnzon.core.DiffBase
isJsonArray, isJsonObject
-
-
-
-
Field Detail
-
bufferProvider
private final BufferStrategy.BufferProvider<char[]> bufferProvider
-
source
private final jakarta.json.JsonValue source
-
target
private final jakarta.json.JsonValue target
-
provider
private JsonProviderImpl provider
-
-
Constructor Detail
-
JsonMergePatchDiff
public JsonMergePatchDiff(jakarta.json.JsonValue source, jakarta.json.JsonValue target, BufferStrategy.BufferProvider<char[]> bufferProvider, JsonProviderImpl provider)
-
-