{"action":"opened","issue":{"url":"https://api.github.com/repos/nodeca/js-yaml/issues/339","repository_url":"https://api.github.com/repos/nodeca/js-yaml","labels_url":"https://api.github.com/repos/nodeca/js-yaml/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/nodeca/js-yaml/issues/339/comments","events_url":"https://api.github.com/repos/nodeca/js-yaml/issues/339/events","html_url":"https://github.com/nodeca/js-yaml/issues/339","id":220197690,"number":339,"title":"replacer","user":{"login":"sjpt","id":4954988,"avatar_url":"https://avatars2.githubusercontent.com/u/4954988?v=3","gravatar_id":"","url":"https://api.github.com/users/sjpt","html_url":"https://github.com/sjpt","followers_url":"https://api.github.com/users/sjpt/followers","following_url":"https://api.github.com/users/sjpt/following{/other_user}","gists_url":"https://api.github.com/users/sjpt/gists{/gist_id}","starred_url":"https://api.github.com/users/sjpt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjpt/subscriptions","organizations_url":"https://api.github.com/users/sjpt/orgs","repos_url":"https://api.github.com/users/sjpt/repos","events_url":"https://api.github.com/users/sjpt/events{/privacy}","received_events_url":"https://api.github.com/users/sjpt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-07T12:18:50Z","updated_at":"2017-04-07T12:18:50Z","closed_at":null,"body":"I needed a yaml dumper that included a replacer option similar to JSON.stringify.\r\nThis turned out to be a simple modification to js-yaml; there may be details not covered.\r\nIts use changes the handling of undefined fields so that they are omitted from the yaml (similar to JSON).\r\n\r\nIf there is any interest in this change I will make it available.\r\n\r\nI will probably add a reviver option for parsing."}}
{"actor":{"display_login":"sjpt"}}