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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. fx

    Terminal JSON viewer & processor

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. gron

    Make JSON greppable!

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

  4. 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.

  5. no_color

    Website data for no-color.org

  6. 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

  7. 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.

  8. jellex

    TUI to filter JSON and JSON Lines data with Python syntax

  9. SaaSHub

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

    SaaSHub logo
  10. gofx

    Discontinued 🐾 fx-like command-line JSON processing tool

  11. 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]

  12. jsonnet

    Jsonnet - The data templating language

  13. jid

    json incremental digger

  14. jp

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

  15. jet

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

  16. faq

    Format Agnostic jQ -- process various formats with libjq

  17. rq

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

  18. htmlq

    Like jq, but for HTML.

  19. awesome-jq

    A curated list of awesome jq tools and resources.

  20. jql

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

  21. infrastructure

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

  22. 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

Did you know that Go is
the 4th most popular programming language
based on number of references?