jc now supports YAML output. Standard and Streaming parsers for top output are also now included.
Category Archives: All Posts
Working with JSON in Various Shells
In this article I give a quick snapshot of what it’s like to work with JSON in various traditional and next generation shells. Traditional shells like Bash and Windows Command Prompt (cmd.exe) don’t have built-in JSON support and require 3rd party utilities. Newer shells like NGS, Nushell, Oil, Elvish, Murex, and PowerShell have JSON serialization/deserialization and filtering capabilities built-in for a cleaner experience.
Easily Convert git log Output to JSON
There are lots of people interested in converting their git logs into beautiful JSON or JSON Lines for archive and analytics. It seems like it should be easy enough, but it is deceptively more complicated than it needs to be. When I got a feature request for jc to support git log output, my firstContinue reading “Easily Convert git log Output to JSON”
JC Version 1.19.0 Released
jc now supports 100 standard and streaming parsers. Thank you to the Open Source community for making this possible!
A New Way to Parse Plain Text Tables
A new way to parse ASCII or Unicode plain text tables using jc and jq or jello. No need for grep, sed, or awk!
JC Version 1.18.1 Released
JC version 1.18.1 release includes a high-level parse API along with public helper functions and better documentation when using JC in Python programs and scripts. 85 parsers included!
Tips on Adding JSON Output to Your CLI App
Best practices when adding a JSON output option to your command-line application.
JC Version 1.17.0 Released
JC version 1.17.0 release includes support for streaming parsers (e.g. ls, ping, vmstat) that output JSON Lines (aka NDJSON). 78 parsers included!
Practical JSON at the Command Line (using Jello)
Effectively use JSON data at the command line with jc, jello, and Bash. This article provides practical examples of how to improve your scripts with JSON.
Practical JSON at the Command Line
Effectively use JSON data at the command line with jc, jq, and Bash. This article provides practical examples of how to improve your scripts with JSON.