smbstatus: add JSON support for smbstatus
authorJule Anger <janger@samba.org>
Thu, 24 Mar 2022 14:46:50 +0000 (15:46 +0100)
committerJule Anger <janger@samba.org>
Mon, 8 Aug 2022 12:56:29 +0000 (12:56 +0000)
commit5d6ed73b38eb5bde91adfb12bded6b55c13a1f55
treece25cd76e0ef6f62e56e8ee99e6fce9663d0546f
parent78c6740299fb96381dded6d7257505fe296675f6
smbstatus: add JSON support for smbstatus

Adds the option --json for all informations except the profiling.
With --json sets the json_output variable to true, so that the json dictionary
can be created and printed.

Signed-off-by: Jule Anger <janger@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/status.c