Jo – a shell command to create JSON

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

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
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
  1. jo

    JSON output from a shell

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. httpie

    🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. (by httpie)

    We did look at `jo`, and also `jarg`[0], the W3C HTML JSON form syntax[1], and pretty much every other approach we could find. We had quite a few requirements that the syntax had to meet: be simple/flexible, easy to read/write, backward/forward compatible, and play well with the rest of the HTTPie request language.

    The final syntax is heavily inspired by the HTML JSON forms one. But we made it stricter, added type safety, and some other features. It supports all the existing functionality like embedding raw JSON strings and JSON/text files by paths.

    The final implementation[2] is completely custom. We’ve plans to ship it as a standalone tool as well, publish the test suite in a language-independent format and write a formal spec so that other tools can easily adopt it. This spec will eventually be a subset of one for the overall HTTPie request language, which is currently tied to our CLI implementation but we want to decouple it.

    Happy to hear you like the desktop app!

    [0] https://github.com/jdp/jarg

    [1] https://www.w3.org/TR/html-json-forms/

    [2] https://github.com/httpie/httpie/blob/master/httpie/cli/nest...

  4. libcurl

    A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features

    This is cool.

    In the spirit of "do one thing well", I'd so rather use this to construct JSON payloads to curl requests than the curl project's own "json part" proposal[1] under consideration.

    [1]: https://github.com/curl/curl/wiki/JSON#--jp-part

  5. dotfiles

    My system configuration. My introspection since 2012. (by seletskiy)

  6. hevm

    Dapp, Seth, Hevm, and more

    There's also jshon which is a simple stack-based DSL for constructing JSON from shell scripts.

    http://kmkeen.com/jshon/

    It's written in C and is not actively developed. The latest commit, it seems, was a pull request from me back in 2018 that fixed a null-termination issue that led to memory corruption.

    Because I couldn't rely on jshon being correct, I rewrote it in Haskell here:

    https://github.com/dapphub/dapptools/tree/master/src/jays

    This is also not developed actively but it's a single simple ~200 line Haskell program.

  7. Reject-POSUCKS-embrace-Nushell

    Discontinued Don't be scared by the edgy title, the article is more substantive, I promise.

    And I just use Nushell. You have built-ins to create (and parse) not only json but also url, xml and more... https://github.com/skelly37/Reject-POSUCKS-embrace-Nushell#b...

  8. android-aws-lambda-runner

    Discontinued Run AWS Lambda functions from a native Android app

  9. 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
  10. ngs

    Next Generation Shell (NGS)

  11. jsonnet

    Jsonnet - The data templating language

    "Even though Python isn't the fastest language out there, it's likely still faster than the shell command above."

    That is going a bit far. By all means use Python. Go ahead and attack people who use the shell. But let's be honest. The shell is faster, assuming one knows how to use it. A similar claim is often made by Python advocates, something along the lines of Python is not slow if one knows how to use it.

    The startup time of a Python interpreter is enormous for someone who is used to a Bourne shell. This is what always stops me from using Python. If anyone knows how to mitigate that delay, feel free to share.

    Anyway, this "jo" thing seems a bit silly. Someone at Google spent their 20% time writing a language called jsonnet to emit JSON. It has been discussed on HN before. People have suggested dhall is a perhaps better alternative.

    https://jsonnet.org

    https://dhall-lang.org

  12. dhall-lang

    Maintainable configuration files

    "Even though Python isn't the fastest language out there, it's likely still faster than the shell command above."

    That is going a bit far. By all means use Python. Go ahead and attack people who use the shell. But let's be honest. The shell is faster, assuming one knows how to use it. A similar claim is often made by Python advocates, something along the lines of Python is not slow if one knows how to use it.

    The startup time of a Python interpreter is enormous for someone who is used to a Bourne shell. This is what always stops me from using Python. If anyone knows how to mitigate that delay, feel free to share.

    Anyway, this "jo" thing seems a bit silly. Someone at Google spent their 20% time writing a language called jsonnet to emit JSON. It has been discussed on HN before. People have suggested dhall is a perhaps better alternative.

    https://jsonnet.org

    https://dhall-lang.org

  13. jarg

    shorthand JSON and form encoding syntax in the shell

    We did look at `jo`, and also `jarg`[0], the W3C HTML JSON form syntax[1], and pretty much every other approach we could find. We had quite a few requirements that the syntax had to meet: be simple/flexible, easy to read/write, backward/forward compatible, and play well with the rest of the HTTPie request language.

    The final syntax is heavily inspired by the HTML JSON forms one. But we made it stricter, added type safety, and some other features. It supports all the existing functionality like embedding raw JSON strings and JSON/text files by paths.

    The final implementation[2] is completely custom. We’ve plans to ship it as a standalone tool as well, publish the test suite in a language-independent format and write a formal spec so that other tools can easily adopt it. This spec will eventually be a subset of one for the overall HTTPie request language, which is currently tied to our CLI implementation but we want to decouple it.

    Happy to hear you like the desktop app!

    [0] https://github.com/jdp/jarg

    [1] https://www.w3.org/TR/html-json-forms/

    [2] https://github.com/httpie/httpie/blob/master/httpie/cli/nest...

  14. construct-json

    Easily construct JSON in Bash.

    Ended up sniping myself . Made a fairly complete version of what I was imagining: https://github.com/itsjohncs/construct-json#readme

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

  • How to connect and query multiple databases with a single REST API

    2 projects | dev.to | 17 Oct 2024
  • Rust has a small standard library (and that's ok)

    4 projects | /r/programming | 30 Jan 2022
  • Spring Cloud Stream Multibinder

    4 projects | dev.to | 5 Oct 2021
  • Deploying a REST API with AWS App Runner and Fauna

    6 projects | dev.to | 16 Sep 2021
  • Sprint 5 - Chakra UI v3 Migration

    2 projects | dev.to | 16 Apr 2025

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