Today I Learned (2021-11-11)

JQ - Command-line JSON processor

Docs: https://stedolan.github.io/jq/manual

Examples:

pip list --format json | jq -c ".[]";
cat file.json | jq "[.[] | {msg: .doc.msg, name: .doc.name}]";

<< Prev | Next >>