Package org.glassfish.json
Class JsonPatchImpl.DiffGenerator
- java.lang.Object
-
- org.glassfish.json.JsonPatchImpl.DiffGenerator
-
- Enclosing class:
- JsonPatchImpl
static class JsonPatchImpl.DiffGenerator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private JsonPatchBuilder
builder
-
Constructor Summary
Constructors Constructor Description DiffGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
diff(java.lang.String path, JsonValue source, JsonValue target)
(package private) JsonArray
diff(JsonStructure source, JsonStructure target)
private void
diffArray(java.lang.String path, JsonArray source, JsonArray target)
private void
diffObject(java.lang.String path, JsonObject source, JsonObject target)
private void
emit(java.lang.String path, JsonArray source, JsonArray target, int[][] c, int i, int j)
-
-
-
Field Detail
-
builder
private JsonPatchBuilder builder
-
-
Method Detail
-
diff
JsonArray diff(JsonStructure source, JsonStructure target)
-
diffObject
private void diffObject(java.lang.String path, JsonObject source, JsonObject target)
-
-