title: Any JQ built-in function returning index of element in JSON array?
body: <p>I have created a csv output from an input JSON file.</p>
  
  <p>Since some JSON arrays do not have their own id's, I need to add a unique id in my csv output that will be based on index of current element in its JSON array. </p>
  
  <p>Is there any built-in JQ function returning the element index?</p>