Re: [PATCH net-next 03/12] tools: bpftool: introduce --json and --pretty options

2017-10-23 Thread Daniel Borkmann
On 10/23/2017 06:24 PM, Jakub Kicinski wrote: From: Quentin Monnet These two options can be used to ask for a JSON output (--j or -json), and to make this JSON human-readable (-p or --pretty). A json_writer object is created when JSON is required, and will be used in follow-up commits to produ

[PATCH net-next 03/12] tools: bpftool: introduce --json and --pretty options

2017-10-23 Thread Jakub Kicinski
From: Quentin Monnet These two options can be used to ask for a JSON output (--j or -json), and to make this JSON human-readable (-p or --pretty). A json_writer object is created when JSON is required, and will be used in follow-up commits to produce JSON output. Note that --pretty implies --js