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/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243400

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

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



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