]> git.proxmox.com Git - mirror_iproute2.git/commit - lib/json_writer.c
provide common json output formatter
authorStephen Hemminger <shemming@brocade.com>
Fri, 21 Aug 2015 21:14:51 +0000 (14:14 -0700)
committerStephen Hemminger <shemming@brocade.com>
Sun, 23 Aug 2015 17:05:29 +0000 (10:05 -0700)
commitfcc16c2287bf8449b1b9e1359d375fb6cbe49842
tree82fed681e32f59a1fc5864c7f539116fcc1af074
parente612883c4556aa74d58a84ff94e763ca033c78e3
provide common json output formatter

Formatting JSON is moderately painful.
Provide a simple API to do the syntax formatting.
include/json_writer.h [new file with mode: 0644]
lib/Makefile
lib/json_writer.c [new file with mode: 0644]
misc/Makefile
misc/ifstat.c
misc/lnstat.c
misc/nstat.c