{"action":"opened","issue":{"url":"https://api.github.com/repos/devinus/poison/issues/41","labels_url":"https://api.github.com/repos/devinus/poison/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/devinus/poison/issues/41/comments","events_url":"https://api.github.com/repos/devinus/poison/issues/41/events","html_url":"https://github.com/devinus/poison/issues/41","id":102636949,"number":41,"title":"[Question] How to pretty print?","user":{"login":"jordi-chacon","id":153220,"avatar_url":"https://avatars.githubusercontent.com/u/153220?v=3","gravatar_id":"","url":"https://api.github.com/users/jordi-chacon","html_url":"https://github.com/jordi-chacon","followers_url":"https://api.github.com/users/jordi-chacon/followers","following_url":"https://api.github.com/users/jordi-chacon/following{/other_user}","gists_url":"https://api.github.com/users/jordi-chacon/gists{/gist_id}","starred_url":"https://api.github.com/users/jordi-chacon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordi-chacon/subscriptions","organizations_url":"https://api.github.com/users/jordi-chacon/orgs","repos_url":"https://api.github.com/users/jordi-chacon/repos","events_url":"https://api.github.com/users/jordi-chacon/events{/privacy}","received_events_url":"https://api.github.com/users/jordi-chacon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-23T16:39:26Z","updated_at":"2015-08-23T16:39:26Z","closed_at":null,"body":"Hi,\r\n\r\nhow can I use Poison.encode to pretty print a map?\r\n\r\nI have been looking at the source code and I believe this should work, but it doesn't:\r\n```\r\niex(1)> Poison.encode(%{\"a\"=>1, \"b\" => 2}, [pretty: true])    \r\n{:ok, \"{\\\"b\\\":2,\\\"a\\\":1}\"}\r\n```\r\n\r\nThank you!"}}