Packages

p

io.idml.jackson

difftool

package difftool

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class DiffJacksonModule extends Module
  2. class DiffSerializer extends PValueSerializer

Value Members

  1. 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] }}

Ungrouped