{"action":"created","issue":{"url":"https://api.github.com/repos/snoyberg/yaml/issues/65","labels_url":"https://api.github.com/repos/snoyberg/yaml/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/snoyberg/yaml/issues/65/comments","events_url":"https://api.github.com/repos/snoyberg/yaml/issues/65/events","html_url":"https://github.com/snoyberg/yaml/issues/65","id":100031753,"number":65,"title":"Pretty module","user":{"login":"phadej","id":51087,"avatar_url":"https://avatars.githubusercontent.com/u/51087?v=3","gravatar_id":"","url":"https://api.github.com/users/phadej","html_url":"https://github.com/phadej","followers_url":"https://api.github.com/users/phadej/followers","following_url":"https://api.github.com/users/phadej/following{/other_user}","gists_url":"https://api.github.com/users/phadej/gists{/gist_id}","starred_url":"https://api.github.com/users/phadej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phadej/subscriptions","organizations_url":"https://api.github.com/users/phadej/orgs","repos_url":"https://api.github.com/users/phadej/repos","events_url":"https://api.github.com/users/phadej/events{/privacy}","received_events_url":"https://api.github.com/users/phadej/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-10T10:35:23Z","updated_at":"2015-08-10T11:37:45Z","closed_at":null,"body":"When working with config files, I'd like to have keys sorted, like with http://hackage.haskell.org/package/aeson-pretty-0.7.2/docs/Data-Aeson-Encode-Pretty.html\r\n\r\nCould that functionality like that be added to this package (I can make a PR myself)."},"comment":{"url":"https://api.github.com/repos/snoyberg/yaml/issues/comments/129415065","html_url":"https://github.com/snoyberg/yaml/issues/65#issuecomment-129415065","issue_url":"https://api.github.com/repos/snoyberg/yaml/issues/65","id":129415065,"user":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T11:37:45Z","updated_at":"2015-08-10T11:37:45Z","body":"That's the intention of the [Builder](http://haddock.stackage.org/nightly-2015-08-10/yaml-0.8.12/Data-Yaml-Builder.html) module: allow more control over the output. It's not very well developed, but is intended to be grown to include more of these kinds of pretty-printing cases. PRs certainly welcome."}}