Detect duplicates with JQ

While working on a bug, I needed to go through JSON file containing a few thousand objects. Some objects had a duplicate id value causing errors. A nice use-case for JQ!

March 21, 2023 ยท 1 min