{"action":"created","issue":{"url":"https://api.github.com/repos/whitequark/ppx_deriving_yojson/issues/19","labels_url":"https://api.github.com/repos/whitequark/ppx_deriving_yojson/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/whitequark/ppx_deriving_yojson/issues/19/comments","events_url":"https://api.github.com/repos/whitequark/ppx_deriving_yojson/issues/19/events","html_url":"https://github.com/whitequark/ppx_deriving_yojson/issues/19","id":60661297,"number":19,"title":"to_yojson ?(omit_defaults=true)","user":{"login":"vogler","id":493741,"avatar_url":"https://avatars.githubusercontent.com/u/493741?v=3","gravatar_id":"","url":"https://api.github.com/users/vogler","html_url":"https://github.com/vogler","followers_url":"https://api.github.com/users/vogler/followers","following_url":"https://api.github.com/users/vogler/following{/other_user}","gists_url":"https://api.github.com/users/vogler/gists{/gist_id}","starred_url":"https://api.github.com/users/vogler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogler/subscriptions","organizations_url":"https://api.github.com/users/vogler/orgs","repos_url":"https://api.github.com/users/vogler/repos","events_url":"https://api.github.com/users/vogler/events{/privacy}","received_events_url":"https://api.github.com/users/vogler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-11T13:53:34Z","updated_at":"2016-01-08T17:26:45Z","closed_at":null,"body":"It would be nice if one could also enable the output of default values."},"comment":{"url":"https://api.github.com/repos/whitequark/ppx_deriving_yojson/issues/comments/170064909","html_url":"https://github.com/whitequark/ppx_deriving_yojson/issues/19#issuecomment-170064909","issue_url":"https://api.github.com/repos/whitequark/ppx_deriving_yojson/issues/19","id":170064909,"user":{"login":"michipili","id":5123318,"avatar_url":"https://avatars.githubusercontent.com/u/5123318?v=3","gravatar_id":"","url":"https://api.github.com/users/michipili","html_url":"https://github.com/michipili","followers_url":"https://api.github.com/users/michipili/followers","following_url":"https://api.github.com/users/michipili/following{/other_user}","gists_url":"https://api.github.com/users/michipili/gists{/gist_id}","starred_url":"https://api.github.com/users/michipili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michipili/subscriptions","organizations_url":"https://api.github.com/users/michipili/orgs","repos_url":"https://api.github.com/users/michipili/repos","events_url":"https://api.github.com/users/michipili/events{/privacy}","received_events_url":"https://api.github.com/users/michipili/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T17:26:45Z","updated_at":"2016-01-08T17:26:45Z","body":"@vogler do you mean disable the output of default parameters?\r\n\r\nI am conversing with an API which does not handle `{ blabla: null }` the same way as `{}` and this feature would also be useful to me.\r\n\r\nShould this be an additional parameter to the `[@@deriving]` annotation?"}}