Presented by:

52e5737fcb74361d1425eff0610c32b7

lufthans

from Object Rocket

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

Hans is chairman of the Phoenix Linux User Group (PLUG); BoF organizer, jobs board maintainer, and jobs night organizer for the Southern California Linux Expo (SCaLE); and founder of the Free Software Stammtisch along with the Stammtisch Job Nights.

Currently leads a database support engineering team at Object Rocket, most likely anything Hans says publicly was not approved by $dayjob.

https://floss.social/@FLOX_advocate

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 that's 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

Date:
2022 April 24 - 15:00
Duration:
45 min
Room:
Code Lab
Conference:
LinuxFest Northwest 22
Language:
Track:
Dev Tools
Difficulty:
200-level

Happening at the same time:

  1. Gaming With Robots
  2. Start Time:
    2022 April 24 15:00

    Room:
    Hardware/Gaming

  3. Intro to jq
  4. Start Time:
    2022 April 24 15:00

    Room:
    Code Lab

  5. Open Source - Year One:
  6. Start Time:
    2022 April 24 15:00

    Room:
    Community