jq: error (at file.json:xy): Cannot index string/array with string "string"
I have an json file containing 1 array of thousand documents. I need to convert file to csv format with specific values only. Each document can have another combination of fields or sub-documents or, (and this is what makes me…