{"action":"opened","issue":{"url":"https://api.github.com/repos/scrapinghub/shub/issues/86","labels_url":"https://api.github.com/repos/scrapinghub/shub/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/scrapinghub/shub/issues/86/comments","events_url":"https://api.github.com/repos/scrapinghub/shub/issues/86/events","html_url":"https://github.com/scrapinghub/shub/issues/86","id":123000698,"number":86,"title":"Let `shub items` outputs in JSON-lines format.","user":{"login":"starrify","id":388828,"avatar_url":"https://avatars.githubusercontent.com/u/388828?v=3","gravatar_id":"","url":"https://api.github.com/users/starrify","html_url":"https://github.com/starrify","followers_url":"https://api.github.com/users/starrify/followers","following_url":"https://api.github.com/users/starrify/following{/other_user}","gists_url":"https://api.github.com/users/starrify/gists{/gist_id}","starred_url":"https://api.github.com/users/starrify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starrify/subscriptions","organizations_url":"https://api.github.com/users/starrify/orgs","repos_url":"https://api.github.com/users/starrify/repos","events_url":"https://api.github.com/users/starrify/events{/privacy}","received_events_url":"https://api.github.com/users/starrify/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T18:16:16Z","updated_at":"2015-12-18T18:16:16Z","closed_at":null,"body":"At this very moment `shub items` outputs results in a format of newline-separated stringified Python `dict`:\r\n\r\n```\r\n{u'name': u'item_0', u'foo': u'bar'}\r\n{u'name': u'item_1', u'foo': u'bar'}\r\n```\r\n\r\nPersonally I think it's better to make it JSON-lines:\r\n\r\n```\r\n{\"name\": \"item_0\", \"foo\": \"bar\"}\r\n{\"name\": \"item_1\", \"foo\": \"bar\"}\r\n```\r\n\r\nOr if we need to keep its backward compatibility, I'd suggest at least we introduce something like `shub items --format=jsonl`.\r\n"}}