An introduction to the magic of jq - Understanding the basics of jq with a realistic example

This page summarizes the projects mentioned and recommended in the original post on /r/commandline

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • yq

    yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor

  • There's also yq for YAML, XML, CSV - https://mikefarah.gitbook.io/yq/

  • yamlpath

    YAML/JSON/EYAML/Compatible get/set/merge/validate/scan/convert/diff processors using powerful, intuitive, command-line friendly syntax.

  • I'm no expert in any of these tools, but here are some yamlpath and jello examples to match:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • jello

    CLI tool to filter JSON and JSON Lines data with Python syntax. (Similar to jq)

  • I'm no expert in any of these tools, but here are some yamlpath and jello examples to match:

  • gron

    Make JSON greppable!

  • Thank you for these! You likely already know, but there is also gron - https://github.com/TomNomNom/gron - which takes a slightly different philosophical stance than jq, but the end result is something that fits in easier with the other existing line based UNIX tools.

  • pup

    Parsing HTML at the command line

  • And for HTML, there is also https://github.com/ericchiang/pup.

  • dasel

    Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.

  • And there also is dasel that is comparable to jq / yq, but supports JSON, YAML, TOML, XML and CSV with zero runtime dependencies while working on all platforms.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Flatito, grep for YAML and JSON files

    4 projects | news.ycombinator.com | 25 Mar 2024
  • jq 1.7

    4 projects | news.ycombinator.com | 1 Oct 2023
  • A small tool for JSON

    3 projects | /r/Python | 28 May 2023
  • Memes are all cool and all. But this is your daily remaining that 10000! =

    4 projects | /r/mathmemes | 23 Apr 2023
  • List of JSON tools for command line

    11 projects | /r/commandline | 27 Mar 2021