package difftool
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- class DiffJacksonModule extends Module
- class DiffSerializer extends PValueSerializer
Value Members
-
object
Diff
Compares IdmlValue objects and creates a diff.
Compares IdmlValue objects and creates a diff.
This aims to be similar to the results of a text diff tool except it works on deeply nested object graphs.
In order to do this we introduce a new Diff IdmlValue type which is equivalent to a json array of the form ["DIFF", left, right] in each case where the left and right side do not match, or otherwise return the original value if both sides match.
diff( {x: {y: A, z: B}}, {x: {y: A, z: C}} ) = {x: {y: A, z: [DIFF, B, C] }}