LinuxFest Northwest 2024: Intro to jq: grep for JSON

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • 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

Комментарии • 1

  • @jasperzanjani
    @jasperzanjani 4 месяца назад

    this is one of those talks that make me want to put a string of recommendations for improvement to the speaker but I just stop myself knowing that I'm just shouting into the wind