Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compare Lizard

A small JavaScript app for comparing two JSON or XML documents.

Open index.html in a browser, paste JSON or XML into the left and right editors, choose the matching format, then use Compare to see added, removed, changed, and equal paths.

For logo, color, versioning, and publishing details, see BRAND_AND_DEPLOYMENT.md.

Features

  • Parse and validate two JSON or XML documents.
  • Compare JSON object keys, array items, primitives, and nested values.
  • Compare XML elements, attributes, direct text, and child elements.
  • Toggle strict values, key or attribute order handling, and equal-path visibility.
  • Filter results by added, removed, changed, and equal paths.
  • Copy or save the diff report as JSON.
  • Open local .json, .xml, or .txt files into either editor.

GitHub Pages

The site publishes from the remote gh-pages branch:

https://davidbreyer.github.io/compare-lizard/

Normal deployment flow:

git add -- ...
git commit -m "Some change"
git push origin master
git push origin master:gh-pages

master stores the source/history. gh-pages is the branch GitHub Pages serves publicly.

Release Stamp

The footer displays the current version:

Version: YYYYMMDD-HHMM

The value lives in script.js:

const appRelease = "YYYYMMDD-HHMM";

The same value is used for cache-busting query strings in index.html.

About

A small JavaScript app for comparing two JSON documents.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages