Tips on Adding JSON Output to Your CLI App

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

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

    Terminal JSON viewer & processor

  • gron

    Make JSON greppable!

  • Thank you, sounds very useful for quick queries: https://github.com/TomNomNom/gron

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

    The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.

  • libxo:

    > The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced. The application calls a function "xo_emit" to product output that is described in a format string. A "field descriptor" tells libxo what the field is and what it means.

    * https://github.com/Juniper/libxo

    Then add an "--output-format" option.

  • no_color

    Website data for no-color.org

  • jello

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

  • That’s why I created jello[0]. You get the power of python without the boilerplate so the experience is closer to jq with python syntax.

    [0] https://github.com/kellyjonbrazil/jello

  • jiq

    Discontinued jid on jq - interactive JSON query tool using jq expressions

  • What kind of thing are you trying to do?

    jq can get pretty deep but for most things in this area I'm not sure how it could improve upon, but would be interested in hearing alternatives.

    https://github.com/fiatjaf/jiq

    Is a realtime feedback wrapper which I find useful when crafting one-off command line uses for jq and it starts getting crazy.

  • jellex

    TUI to filter JSON and JSON Lines data with Python syntax

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

    Discontinued 🐾 fx-like command-line JSON processing tool

  • json2xpath

    Discontinued Distill a JSON document into a collection of paths both for 'jq' and 'xpath' [Moved to: https://github.com/TomConlin/json_to_paths]

  • jsonnet

    Jsonnet - The data templating language

  • jid

    json incremental digger

  • jp

    Command line interface to JMESPath - http://jmespath.org

  • jet

    CLI to transform between JSON, EDN, YAML and Transit using Clojure (by borkdude)

  • faq

    Format Agnostic jQ -- process various formats with libjq

  • rq

    Record Query - A tool for doing record analysis and transformation (by dflemstr)

  • htmlq

    Like jq, but for HTML.

  • awesome-jq

    A curated list of awesome jq tools and resources.

  • jql

    Easy JSON Query Processor with a Lispy syntax in Go (by cube2222)

  • infrastructure

    The infrastructure monorepo for the Rocky Linux project. This project will be archived/deprecated in the future.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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