CSV to JSON using jq

In short – yes, except maybe for the one-liner bit. jq is often well-suited to text wrangling, and this is especially true of versions with regex support. With regex support, for example, the trimming required by the given problem statement is trivial. Since jq 1.5rc1 includes regex support and has been available since Jan 1, …

Read more