Json – Replace a field with the index of values in an array in JQ
Given the following JSON file: { "quadrants": [ "Languages + Frameworks", "Tools", "Platforms", "Techniques" ], "entries": [ { "quadrant": "Languages + Frameworks" }, { "quadrant": "Platforms" }, { "quadrant": "Languages + Frameworks" } ] } How can the quadrant field…