{"action":"created","issue":{"url":"https://api.github.com/repos/PikachuEXE/rspec-json_matchers/issues/1","labels_url":"https://api.github.com/repos/PikachuEXE/rspec-json_matchers/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/PikachuEXE/rspec-json_matchers/issues/1/comments","events_url":"https://api.github.com/repos/PikachuEXE/rspec-json_matchers/issues/1/events","html_url":"https://github.com/PikachuEXE/rspec-json_matchers/issues/1","id":95622418,"number":1,"title":"Add bullt-in \"expectation\" for \"something or null\"","user":{"login":"PikachuEXE","id":1018543,"avatar_url":"https://avatars.githubusercontent.com/u/1018543?v=3","gravatar_id":"","url":"https://api.github.com/users/PikachuEXE","html_url":"https://github.com/PikachuEXE","followers_url":"https://api.github.com/users/PikachuEXE/followers","following_url":"https://api.github.com/users/PikachuEXE/following{/other_user}","gists_url":"https://api.github.com/users/PikachuEXE/gists{/gist_id}","starred_url":"https://api.github.com/users/PikachuEXE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PikachuEXE/subscriptions","organizations_url":"https://api.github.com/users/PikachuEXE/orgs","repos_url":"https://api.github.com/users/PikachuEXE/repos","events_url":"https://api.github.com/users/PikachuEXE/events{/privacy}","received_events_url":"https://api.github.com/users/PikachuEXE/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PikachuEXE/rspec-json_matchers/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"PikachuEXE","id":1018543,"avatar_url":"https://avatars.githubusercontent.com/u/1018543?v=3","gravatar_id":"","url":"https://api.github.com/users/PikachuEXE","html_url":"https://github.com/PikachuEXE","followers_url":"https://api.github.com/users/PikachuEXE/followers","following_url":"https://api.github.com/users/PikachuEXE/following{/other_user}","gists_url":"https://api.github.com/users/PikachuEXE/gists{/gist_id}","starred_url":"https://api.github.com/users/PikachuEXE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PikachuEXE/subscriptions","organizations_url":"https://api.github.com/users/PikachuEXE/orgs","repos_url":"https://api.github.com/users/PikachuEXE/repos","events_url":"https://api.github.com/users/PikachuEXE/events{/privacy}","received_events_url":"https://api.github.com/users/PikachuEXE/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-17T09:34:06Z","updated_at":"2015-07-21T08:43:39Z","closed_at":"2015-07-21T08:43:39Z","body":"# Background\r\nIt's possible to test a value being \"a type or null\" by using\r\n```ruby\r\nAnyOf[String, null]\r\n# or\r\nAnyOf[String, NilClass]\r\n```\r\n\r\n# Questions\r\nIs this good enough?\r\nIf not, what should be the new expectation class name?\r\nShould the new expectation class also accept non `Class` objects?"},"comment":{"url":"https://api.github.com/repos/PikachuEXE/rspec-json_matchers/issues/comments/123216287","html_url":"https://github.com/PikachuEXE/rspec-json_matchers/issues/1#issuecomment-123216287","issue_url":"https://api.github.com/repos/PikachuEXE/rspec-json_matchers/issues/1","id":123216287,"user":{"login":"PikachuEXE","id":1018543,"avatar_url":"https://avatars.githubusercontent.com/u/1018543?v=3","gravatar_id":"","url":"https://api.github.com/users/PikachuEXE","html_url":"https://github.com/PikachuEXE","followers_url":"https://api.github.com/users/PikachuEXE/followers","following_url":"https://api.github.com/users/PikachuEXE/following{/other_user}","gists_url":"https://api.github.com/users/PikachuEXE/gists{/gist_id}","starred_url":"https://api.github.com/users/PikachuEXE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PikachuEXE/subscriptions","organizations_url":"https://api.github.com/users/PikachuEXE/orgs","repos_url":"https://api.github.com/users/PikachuEXE/repos","events_url":"https://api.github.com/users/PikachuEXE/events{/privacy}","received_events_url":"https://api.github.com/users/PikachuEXE/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T08:43:39Z","updated_at":"2015-07-21T08:43:39Z","body":"Solved in 442f973e58fc8f94d1a35b12f9e7e698511aad0f"}}