Converting large amounts of JSON to CSV on macOS
jq works quite well for this, you can install it via Homebrew. Specific usage depends on the structure of your JSON file, the accepted answer on https://unix.stackexchange.com/questions/570548/convert-json-array-into-csv has details which should help to get started.