Intro to jq: grep for JSON
der.hans
der.hans is a Free Software, technology and entrepreneurial veteran.
He's chairman of the Phoenix Linux User Group (PLUG), Open Source Careers chair for the Southern California Linux Expo (SCaLE), founder of the Free Software Stammtisch and Stammtisch Job Nights, and chair SeaGL's finance committee and Career Expo.
Currently, he's a database support manager at ObjectRocket. Most likely anything he says publicly was not approved by $dayjob.
Want to parse JSON on the command line? Want a pipeable inline tool for JSON manipulation?
jq is a command line tool, 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
- date handling
- conditionals
- regular expressions
- prettified JSON output
- plain JSON output
- non JSON output
- Date:
- 2021 November 5 - 10:50
- Duration:
- 30 min
- Room:
- Room 2
- Conference:
- SeaGL 2021
- Language:
- Track:
- Tools
- Difficulty:
- Medium
- PostgreSQL Participation in Google's Summer of Code
- Start Time:
- 2021 November 5 10:50
- Room:
- Room 1
- Predictive Modeling and Privacy
- Start Time:
- 2021 November 5 10:50
- Room:
- Room 3