der.hans
Database Support Manager
Want to parse JSON on the command line?
Want a pipeable inline tool for JSON manipulation?
Today's APIs and databases feed us lots of JSON.
It's a structured, line-independent data format, and our normal line-based tools such as grep, sed and awk fall a bit short.
jq understands JSON document format and is easy to fit into your data pipeline.
It can parse, search and manipulate JSON documents.
This talk will cover an introduction to jq and using it to search JSON objects similar to how grep is used for plain text.
Attendees will learn:
basic parts of JSON
key search
value matching
string match
using variables with jq
conditionals
regular expressions
prettified JSON output