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!
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.
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.
JC version 1.15.0 release includes dozens of new features and parsers. Over 70 commands and file-types are now supported!
JC version 1.14.0 release includes new parsers for several commands, including date, wc, sum, cksum, hash, md5, md5sum, shasum, and more!
Use jc with Nornir to parse the output of commands run on remote hosts.
Use a jc Output and/or Serializer Module to parse the output of commands run on Saltstack Minions.
Use the jc community.general Ansible filter plugin to parse the output of commands run on remote hosts.
JC version 1.13.1 includes custom parser plugins, ping parser, sysctl parser, tracepath parser, traceroute parser, more FreeBSD support, new packaging, and more!
Python has great exception-handling with nice traceback messages that can help debug issues with your code. Here’s an example of a typical traceback message: I usually read these from the bottom-up to zero-in on the issue. Here I can see that my program is trying to pop the last item off a list called parsed_line,Continue reading “More Comprehensive Tracebacks in Python”