News for hackers. Stuff that matters.
Re:CSV Challenge by nburger on Saturday April 25, 2015 @10:43AM (#9438425)
If we're going for succinctness, you could combine these all together:

(echo '"Name","Credit Card"'; jq -r '.[] | select(.creditcard) | [.name, .creditcard] | @csv' data.json) >> `date +%Y%m%d`.csv

Re:CSV Challenge by vitorbaptistaa on Saturday April 25, 2015 @10:47AM (#9438439)
Nice trick to write the headers, thanks!