cz takes CSV data on stdin and converts to ZNG format on stdout.
git clone https://github.com/mccanne/cz
cd cz
go install
printf "n,s,b\n1,foo,true\n" | cz | zq -f zson -
gives
{
n: 1e+00,
s: "foo",
b: true
} (=0)
| Name | Name | Last commit date | ||
|---|---|---|---|---|