Interactive Examples for Learning Jq

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • jq-zsh-plugin

    jq zsh plugin

  • https://github.com/reegnz/jq-zsh-plugin/blob/e61804e35a593ad...

    zshbuiltins(1): Unlike parameter assignment statements, typeset's exit status on an assignemt that involves a command substitution does not reflect the exit status of the command substitution. Therefore, to test for an error in a command substitution, separate the declaration of the parameter from its initialization.

  • aioli

    Framework for building fast genomics web tools with WebAssembly and WebWorkers

  • Seems he is using something called biowasm aioli: https://github.com/biowasm/aioli

    > Aioli is a library for running genomics command-line tools in the browser using WebAssembly. See Who uses biowasm for example use cases.

    https://biowasm.com/cdn/v3/jq/1.6

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cels

    Command line tool to patch your YAML, JSON and TOML files.

  • Not a 1:1 replacement, but I created https://github.com/pacha/cels because I wanted to have a more intuitive way of working with JSON and YAML files

  • jq

    Command-line JSON processor

  • It seems like jq is getting a nice boost due to how useful it is getting JSON into and out of OpenAI and LLM environments that understand jq. The big new release/relaunch shows the project is up and running again so maybe we see even more integration with Agent/Function type use cases or some pydantic-ish guardrails. Thanks for the Bookmark !

    https://github.com/jqlang/jq/releases/tag/jq-1.7

  • jqjq

    jq implementation of jq

  • * https://github.com/wader/jqjq

    It really is a super cool little, super expressive nearly (if not entirely) turing complete pure functional programming language.

    You can:

  • ojg

    Optimized JSON for Go

  • I found Jq to be difficult to use which is why Oj, https://github.com/ohler55/ojg is based on JSONPath. There still are a lot of options but it only takes a couple of help screens to figure out what the options are.

  • vim-jqplay

    Run jq interactively in Vim and Neovim (by phelipetls)

  • Nice!

    Let me piggyback to mention the (neo)vim plugin I use for tightening the loop... https://github.com/phelipetls/vim-jqplay

    It's great for building large complex queries that will eventually live in scripts, but your zsh plugin seems to hit a real sweet spot of fast feedback for ad-hoc queries too! Huge props!

  • 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
  • json_to_paths

    Distill a JSON document into a collection of paths both for 'jq' and 'xpath'

  • as a list of jq arguments.

    You can use it to make queries or keep track of a documents structure.

    https://github.com/TomConlin/json_to_paths

  • jaq

    A jq clone focussed on correctness, speed, and simplicity

  • Thanks for the jqjq shoutout! :) i'm quite sure jq is turing complete, jq (and jqjq!) can implement brainfuck https://github.com/01mf02/jaq/blob/main/examples/bf.jq

  • gron

    Make JSON greppable!

  • > So all I want is a tool to go from json => line oriented and I will do the rest with the vast library of experience I already have at transformations on the command line.*

    The tool for that is likely https://github.com/tomnomnom/gron

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