{"action":"created","issue":{"url":"https://api.github.com/repos/tenderlove/psych/issues/227","labels_url":"https://api.github.com/repos/tenderlove/psych/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/tenderlove/psych/issues/227/comments","events_url":"https://api.github.com/repos/tenderlove/psych/issues/227/events","html_url":"https://github.com/tenderlove/psych/issues/227","id":59716867,"number":227,"title":"'nil' does not roud-trip through load/dump","user":{"login":"silarsis","id":2221181,"avatar_url":"https://avatars.githubusercontent.com/u/2221181?v=3","gravatar_id":"","url":"https://api.github.com/users/silarsis","html_url":"https://github.com/silarsis","followers_url":"https://api.github.com/users/silarsis/followers","following_url":"https://api.github.com/users/silarsis/following{/other_user}","gists_url":"https://api.github.com/users/silarsis/gists{/gist_id}","starred_url":"https://api.github.com/users/silarsis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silarsis/subscriptions","organizations_url":"https://api.github.com/users/silarsis/orgs","repos_url":"https://api.github.com/users/silarsis/repos","events_url":"https://api.github.com/users/silarsis/events{/privacy}","received_events_url":"https://api.github.com/users/silarsis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-03T22:29:10Z","updated_at":"2015-03-29T23:31:45Z","closed_at":"2015-03-29T23:31:45Z","body":"YAML.load recognises '~' as a nil value - but when dumping back out, it converts that nil to an empty string, rather than outputting the original ~.\r\n\r\nIs there any way to get dump to generate ~ characters for nil?"},"comment":{"url":"https://api.github.com/repos/tenderlove/psych/issues/comments/87497381","html_url":"https://github.com/tenderlove/psych/issues/227#issuecomment-87497381","issue_url":"https://api.github.com/repos/tenderlove/psych/issues/227","id":87497381,"user":{"login":"silarsis","id":2221181,"avatar_url":"https://avatars.githubusercontent.com/u/2221181?v=3","gravatar_id":"","url":"https://api.github.com/users/silarsis","html_url":"https://github.com/silarsis","followers_url":"https://api.github.com/users/silarsis/followers","following_url":"https://api.github.com/users/silarsis/following{/other_user}","gists_url":"https://api.github.com/users/silarsis/gists{/gist_id}","starred_url":"https://api.github.com/users/silarsis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silarsis/subscriptions","organizations_url":"https://api.github.com/users/silarsis/orgs","repos_url":"https://api.github.com/users/silarsis/repos","events_url":"https://api.github.com/users/silarsis/events{/privacy}","received_events_url":"https://api.github.com/users/silarsis/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T23:31:45Z","updated_at":"2015-03-29T23:31:45Z","body":"I haven't been able to replicate this outside of the codebase I was working on, and I'm not working on that codebase any more. So I suspect it was related to my code, not the library code. Closing, thanks for the assistance."}}