Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2020 21:50:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243400] add json output to diskinfo(8)
Message-ID:  <bug-243400-227-nGRv2Ar4SP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243400-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243400-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243400

--- Comment #1 from Conrad Meyer <cem@freebsd.org> ---
Usually this kind of thing is done with libxo -- rather than open-coding json,
the program creates some structured output stream and the user can invoke the
program and elect an output format (json, xml, etc).  I'm not an advocate for
libxo (I think it's terrible) but if you want json from this binary, that seems
to be the prevailing pattern.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243400-227-nGRv2Ar4SP>