soljsonfmt(1) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

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)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3