Simple program to convert a file containing a single JSON object to a CSV file.
Install the dependencies:
go mod tidy
Run the program:
go run main.go --file <path-to-json-file> --key <key> --value <value> --output <path-to-output-csv-file> --exclude-keys <comma-separated-list-of-keys-to-exclude>