{"action":"opened","issue":{"url":"https://api.github.com/repos/salesking/json_schema_tools/issues/22","labels_url":"https://api.github.com/repos/salesking/json_schema_tools/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/salesking/json_schema_tools/issues/22/comments","events_url":"https://api.github.com/repos/salesking/json_schema_tools/issues/22/events","html_url":"https://github.com/salesking/json_schema_tools/issues/22","id":67067749,"number":22,"title":"Handle nil values","user":{"login":"schorsch","id":13575,"avatar_url":"https://avatars.githubusercontent.com/u/13575?v=3","gravatar_id":"","url":"https://api.github.com/users/schorsch","html_url":"https://github.com/schorsch","followers_url":"https://api.github.com/users/schorsch/followers","following_url":"https://api.github.com/users/schorsch/following{/other_user}","gists_url":"https://api.github.com/users/schorsch/gists{/gist_id}","starred_url":"https://api.github.com/users/schorsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schorsch/subscriptions","organizations_url":"https://api.github.com/users/schorsch/orgs","repos_url":"https://api.github.com/users/schorsch/repos","events_url":"https://api.github.com/users/schorsch/events{/privacy}","received_events_url":"https://api.github.com/users/schorsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-08T07:28:19Z","updated_at":"2015-04-08T07:28:19Z","closed_at":null,"body":"@VidurMalik added a change for nested objects, which are not present in the output json when nil:\r\nhttps://github.com/salesking/json_schema_tools/pull/19\r\n\r\nStill need to handle the other field types: plain properties & nested arrays.\r\n\r\nA resonable approach could be to add the following options:\r\n\r\n- `ignore_null: true` => which would leave out all nil values from the output json\r\n- `strict: true` => the parser throws an error when an schema property does not exists on the object e.g `obj.respond_to?(field)`  Such could e needed to find out why a key is missing in the json: does it exists or is it nil?\r\n\r\n"}}