{"action":"created","issue":{"url":"https://api.github.com/repos/groonga/groonga/issues/355","labels_url":"https://api.github.com/repos/groonga/groonga/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/groonga/groonga/issues/355/comments","events_url":"https://api.github.com/repos/groonga/groonga/issues/355/events","html_url":"https://github.com/groonga/groonga/issues/355","id":91425976,"number":355,"title":"JSONの表示がチュートリアルと違う","user":{"login":"tiwawan","id":4486076,"avatar_url":"https://avatars.githubusercontent.com/u/4486076?v=3","gravatar_id":"","url":"https://api.github.com/users/tiwawan","html_url":"https://github.com/tiwawan","followers_url":"https://api.github.com/users/tiwawan/followers","following_url":"https://api.github.com/users/tiwawan/following{/other_user}","gists_url":"https://api.github.com/users/tiwawan/gists{/gist_id}","starred_url":"https://api.github.com/users/tiwawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiwawan/subscriptions","organizations_url":"https://api.github.com/users/tiwawan/orgs","repos_url":"https://api.github.com/users/tiwawan/repos","events_url":"https://api.github.com/users/tiwawan/events{/privacy}","received_events_url":"https://api.github.com/users/tiwawan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-27T06:56:28Z","updated_at":"2015-07-07T11:27:46Z","closed_at":"2015-07-07T11:27:46Z","body":"環境:ubuntu 14.10 64bit\r\ngroonga 5.0.4\r\n\r\n### 期待される実行結果\r\nhttp://groonga.org/ja/docs/tutorial/introduction.html#create-a-database\r\nから引用\r\n```\r\n% groonga /tmp/groonga-databases/introduction.db\r\nstatus\r\n# [\r\n#   [\r\n#     0,\r\n#     1337566253.89858,\r\n#     0.000355720520019531\r\n#   ],\r\n#   {\r\n#     \"uptime\": 0,\r\n#     \"max_command_version\": 2,\r\n#     \"n_queries\": 0,\r\n#     \"cache_hit_rate\": 0.0,\r\n#     \"version\": \"4.0.1\",\r\n#     \"alloc_count\": 161,\r\n#     \"command_version\": 1,\r\n#     \"starttime\": 1395806057,\r\n#     \"default_command_version\": 1\r\n#   }\r\n# ]\r\n```\r\n\r\n### 実際の実行結果\r\n```\r\n$ groonga introduction.db status\r\n[[0,1435371313.10237,0.000842809677124023],{\"alloc_count\":169,\"starttime\":1435371312,\"uptime\":1,\"version\":\"5.0.4\",\"n_queries\":0,\"cache_hit_rate\":0.0,\"command_version\":1,\"default_command_version\":1,\"max_command_version\":2}]\r\n```\r\n\r\n### 問題点\r\nチュートリアルではJSONの配列が改行付きで表示されていますが、私の環境では一行で表示されました。\r\n\r\n### 提案\r\nJSONを整形表示するためのプログラムであるgrnwrap (http://d.hatena.ne.jp/michisu/20110416/p1) やgrnline (http://not-taihen.ruby.iijgio.com/blog/2013/06/15/grnline/) への案内をチュートリアルに追加してはいかがでしょうか。"},"comment":{"url":"https://api.github.com/repos/groonga/groonga/issues/comments/119176770","html_url":"https://github.com/groonga/groonga/issues/355#issuecomment-119176770","issue_url":"https://api.github.com/repos/groonga/groonga/issues/355","id":119176770,"user":{"login":"myokoym","id":386687,"avatar_url":"https://avatars.githubusercontent.com/u/386687?v=3","gravatar_id":"","url":"https://api.github.com/users/myokoym","html_url":"https://github.com/myokoym","followers_url":"https://api.github.com/users/myokoym/followers","following_url":"https://api.github.com/users/myokoym/following{/other_user}","gists_url":"https://api.github.com/users/myokoym/gists{/gist_id}","starred_url":"https://api.github.com/users/myokoym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myokoym/subscriptions","organizations_url":"https://api.github.com/users/myokoym/orgs","repos_url":"https://api.github.com/users/myokoym/repos","events_url":"https://api.github.com/users/myokoym/events{/privacy}","received_events_url":"https://api.github.com/users/myokoym/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T11:27:46Z","updated_at":"2015-07-07T11:27:46Z","body":"確認ありがとうございます！おかげでより良いドキュメントになりました。\r\nまた何かあればお気軽にご連絡ください :smiley_cat: "}}