{"id":3781,"date":"2015-07-17T21:36:01","date_gmt":"2015-07-17T12:36:01","guid":{"rendered":"http:\/\/pchero21.com\/?p=3781"},"modified":"2015-07-17T21:36:01","modified_gmt":"2015-07-17T12:36:01","slug":"about-pretty-print-option-flag","status":"publish","type":"post","link":"http:\/\/pchero21.com\/?p=3781","title":{"rendered":"About pretty print option flag"},"content":{"rendered":"<p>\uc624\ub298 \ud300\uc7a5\uc73c\ub85c\ubd80\ud130 \ub2e4\uc74c\uacfc \uac19\uc740 \ud504\ub85c\uadf8\ub7a8 \ud53c\ub4dc\ubc31\uc744 \ubc1b\uc558\ub2e4.<\/p>\n<blockquote><p>The client sending and status always outputs json:<\/p>\n<p>please add -q flag to suppress output<\/p>\n<p>please add -s flag to return ONLY the uuid for use in calling the client with the option <code>-i &lt;case_id&gt;<\/code><\/p>\n<p>please add -p flag to output the json as &#8216;pretty printed&#8217; (jansson -&gt; JSON_INDENT(n) for n=2)<\/p><\/blockquote>\n<p>\uae30\uc874\uc5d0 \uac1c\ubc1c\ud55c \ud504\ub85c\uadf8\ub7a8\uc5d0 \ub300\ud574 \ucd94\uac00\uc801\uc778 \uc635\uc158\uc744 \uc694\uccad\ud55c \ub0b4\uc6a9\uc774\uc5c8\ub294\ub370&#8230; \ud558\ub098\ud558\ub098\uc529 \uc77d\ub2e4\uac00 \ub9c8\uc9c0\ub9c9 -p \uc635\uc158\uc5d0 \ub300\ud574 \uc758\ubb38\uc774 \uc0dd\uacbc\ub2e4.<\/p>\n<p>Pretty print? \ub300\uccb4 \uc774\uac8c \uc65c \ud544\uc694\ud560\uae4c?<\/p>\n<p>\uae30\ub2a5\uc744 \ucd94\uac00\ud558\ub294\uac74 \uc5b4\ub835\uc9c0 \uc54a\uc558\uc9c0\ub9cc, \uadf8 \uc774\uc720\uac00 \uad81\uae08\ud588\ub2e4. \ub0b4 \ub9c8\uc74c\uc744 \uc54c\uace0 \uc788\uc5c8\ub294\uc9c0, \ubc14\ub85c \uc544\ub798\ucabd \ub313\uae00\uc5d0 \uadf8 \uc774\uc720\uac00 \uc801\ud600 \uc788\uc5c8\ub2e4.<\/p>\n<blockquote><p>pretty print makes it easier to use awk and other tools to find the interesting return line and grab out the value without having to implement a full JSON parser<\/p><\/blockquote>\n<p>\uc544!!!! \ubbf8\ucc98 \uc0dd\uac01\uc9c0\ub3c4 \ubabb\ud55c \uc774\uc720\uc600\ub2e4&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc624\ub298 \ud300\uc7a5\uc73c\ub85c\ubd80\ud130 \ub2e4\uc74c\uacfc \uac19\uc740 \ud504\ub85c\uadf8\ub7a8 \ud53c\ub4dc\ubc31\uc744 \ubc1b\uc558\ub2e4. The client sending and status always outputs json: please add -q flag to suppress output please add -s flag to return ONLY the uuid for use in calling the client with the option &hellip; <a href=\"http:\/\/pchero21.com\/?p=3781\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[40],"tags":[972,973,971],"_links":{"self":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/3781"}],"collection":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3781"}],"version-history":[{"count":1,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/3781\/revisions"}],"predecessor-version":[{"id":3782,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/3781\/revisions\/3782"}],"wp:attachment":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3781"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}