JSON file formatter
Validate and format a UTF-8 JSON file without changing number literals or duplicate keys. Up to 2 MiB and 100 nesting levels.
Choose two JSON files in order: source then target to create RFC6902 changes, or source then patch to apply. Supports add/remove/replace/move/copy/test; arrays are replaced whole when creating a diff. Up to 1MiB per file, 20000 nodes, depth 60, 1000 operations and bounded output. Exact numbers; object order/spelling may change. Removing the root returns a no-document report, not null. Errors return no partial result.