Developer tool · Sample project

Read the output

Use this reference when a comparison finishes. Each output line names one top-level key.

Foldline 0.1.0-preview.1

Additions, removals and edits

For a second comparison, replace before.json with the following object. Keep after.json from the first comparison and rerun the same command.

{"theme":"paper","layout":"grid","legacy":true}

Interpret the report

A plus marks compact as added, a minus marks legacy as removed, and a tilde marks theme as changed. The unchanged layout key produces no line.

+ compact
- legacy
~ theme

Objects and arrays

A change inside a nested object reports its parent key once. Reordering keys in an object has no effect. Reordering an array changes its value.

Exit status

A successful comparison exits with 0 even when it finds changes. Comparing a file with itself prints the line below. A missing file, invalid JSON or a top-level array produces an error and exits with 1.

No changes.