This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Compare two JSON files for equivalence, ignoring field order. | |
| Array items are matched by their "name" field. | |
| Supports both .json and .snap files. | |
| """ | |
| import json | |
| import sys | |
| from pathlib import Path |