svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
soljsonfmt(1)
soljsonfmt(1) User Commands soljsonfmt(1)
NAME
soljsonfmt - format JSON data
SYNOPSIS
/usr/bin/soljsonfmt [-c|-d] [json-file...]
DESCRIPTION
soljsonfmt without the -c or -d options formats JSON data in a consis‐
tent manner, including the lexical sorting of associative array
indexes.
If no arguments are given, soljsonfmt reads stdin until EOF, and then
writes the formatted JSON to stdout. Any JSON files specified on the
command line are formatted in place.
soljsonfmt with the -c option checks whether the specified files are
formatted in soljsonfmt style. The -d option displays the differences
if the file is not properly formatted.
OPTIONS
The following options are supported:
-? Display a usage message.
--help
-c Check whether the file is formatted in the soljsonfmt style.
-d Display file differences from the formatted version in uni‐
fied form.
EXIT STATUS
The following exit values are returned:
0 Command succeeded.
1 The -c or -d options were specified, and one or more files are not
in soljsonfmt normal form, or an error occurred.
2 Invalid command line options were specified.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitydeveloper/base-developer-utilities _ Inter‐
face StabilityUncommitted
Oracle Solaris 11.4 12 May 2016 soljsonfmt(1)