This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the workflows category.
Last Updated: 2024-12-03
I was supposed to hand out big JSON files to Project M.
In my original batch, I made sure all the files were valid JSON (i.e. had commas at the end of every row) and could be imported.
Then there was a last minute change and I filtered the json using the jq
command to generated this modification (instead of using the standard process)
Unfortunately this returned invalid JSON that would not import. As a result, I embarrassed myself in front of the client.