About a mont ago, a fellow handler pointed us to a blog post on a new feature of curl: option --json.

And now that there is a new curl release (7.82.0) with this option, I wrote a diary entry about it: "curl 7.82.0 Adds --json Option".

In that curl blog post, I learned about a tool called jo.

jo is a command-line tool to create JSON. Here is an example:

In this video, I show how to use jo and curl together:



Didier Stevens
Senior handler
Microsoft MVP


677 Posts
ISC Handler
Apr 3rd 2022
That might come in handy, but for most of my JSON needs I prefer to use scripting languages, such as PHP, which has the functions json_encode() and json_decode() built in, and PHP has a command line mode as well (similar features probably exist in your scripting language of choice).

Sign Up for Free or Log In to start participating in the conversation!