November 8th & 9th, 2024
Love SeaGL and want to help out? Get Involved
This video recording is archived by the Internet Archive. If you value their service, please consider thanking them with a small donation.

Intro to jq: grep for JSON

SeaGL 2021

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

Presenters

der.hans

der.hans, Object Rocket

der.hans is a Free Software, technology and entrepreneurial veteran.

He’s chairman of the Phoenix Linux User Group (PLUG), BoF organizer for the Southern California Linux Expo (SCaLE), and founder of the Free Software Stammtisch and Stammtisch Job Nights.

Currently, he’s a CDE manager at Object Rocket. Most likely anything he says publicly was not approved by $dayjob.

https://floss.social/@FLOX_advocate

Resources