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!
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!