{"action":"created","issue":{"url":"https://api.github.com/repos/globus/globus-cli/issues/409","repository_url":"https://api.github.com/repos/globus/globus-cli","labels_url":"https://api.github.com/repos/globus/globus-cli/issues/409/labels{/name}","comments_url":"https://api.github.com/repos/globus/globus-cli/issues/409/comments","events_url":"https://api.github.com/repos/globus/globus-cli/issues/409/events","html_url":"https://github.com/globus/globus-cli/pull/409","id":321365614,"number":409,"title":"Make JSON output use `sort_keys` to force ordering","user":{"login":"sirosen","id":1300022,"avatar_url":"https://avatars3.githubusercontent.com/u/1300022?v=4","gravatar_id":"","url":"https://api.github.com/users/sirosen","html_url":"https://github.com/sirosen","followers_url":"https://api.github.com/users/sirosen/followers","following_url":"https://api.github.com/users/sirosen/following{/other_user}","gists_url":"https://api.github.com/users/sirosen/gists{/gist_id}","starred_url":"https://api.github.com/users/sirosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirosen/subscriptions","organizations_url":"https://api.github.com/users/sirosen/orgs","repos_url":"https://api.github.com/users/sirosen/repos","events_url":"https://api.github.com/users/sirosen/events{/privacy}","received_events_url":"https://api.github.com/users/sirosen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-08T22:14:35Z","updated_at":"2018-05-10T15:27:37Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/globus/globus-cli/pulls/409","html_url":"https://github.com/globus/globus-cli/pull/409","diff_url":"https://github.com/globus/globus-cli/pull/409.diff","patch_url":"https://github.com/globus/globus-cli/pull/409.patch"},"body":"When dumping an object to JSON output, use `sort_keys` to ensure that ordering is consistent.\r\n\r\nThis doesn't need to be a documented part of the interface for the CLI, that we use sorted JSON output, but it results in more consistent behavior. Nobody *should* be relying on the order of the output, but\r\nthis way, if they *are*, we'll be able to give them better behavior."},"comment":{"url":"https://api.github.com/repos/globus/globus-cli/issues/comments/388088681","html_url":"https://github.com/globus/globus-cli/pull/409#issuecomment-388088681","issue_url":"https://api.github.com/repos/globus/globus-cli/issues/409","id":388088681,"user":{"login":"sirosen","id":1300022,"avatar_url":"https://avatars3.githubusercontent.com/u/1300022?v=4","gravatar_id":"","url":"https://api.github.com/users/sirosen","html_url":"https://github.com/sirosen","followers_url":"https://api.github.com/users/sirosen/followers","following_url":"https://api.github.com/users/sirosen/following{/other_user}","gists_url":"https://api.github.com/users/sirosen/gists{/gist_id}","starred_url":"https://api.github.com/users/sirosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirosen/subscriptions","organizations_url":"https://api.github.com/users/sirosen/orgs","repos_url":"https://api.github.com/users/sirosen/repos","events_url":"https://api.github.com/users/sirosen/events{/privacy}","received_events_url":"https://api.github.com/users/sirosen/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T15:27:37Z","updated_at":"2018-05-10T15:27:37Z","author_association":"OWNER","body":"Yeah, let me get those too. I hadn't even thought to audit for other `json.dump{,s}` usage.\r\nIt does no harm, and sets a clean/consistent internal rule: \"When you make JSON output, you always sort it.\""}}
{"actor":{"display_login":"sirosen"}}