From: Jakub Kicinski <jakub.kicin...@netronome.com> Date: Mon, 23 Oct 2017 09:24:04 -0700
> Quentin says: > > This series introduces support for JSON output to all bpftool commands. It > adds option parsing, and several options are created: > > * -j, --json Switch to JSON output. > * -p, --pretty Switch to JSON and print it in a human-friendly fashion. > * -h, --help Print generic help message. > * -V, --version Print version number. > > This code uses a "json_writer", which is a copy of the one written by > Stephen Hemminger in iproute2. > --- > I don't know if there is an easy way to share the code for json_write > without copying the file, so I am very open to suggestions on this matter. Series applied.