{"action":"created","issue":{"url":"https://api.github.com/repos/wolfgangmm/eXide/issues/136","repository_url":"https://api.github.com/repos/wolfgangmm/eXide","labels_url":"https://api.github.com/repos/wolfgangmm/eXide/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/wolfgangmm/eXide/issues/136/comments","events_url":"https://api.github.com/repos/wolfgangmm/eXide/issues/136/events","html_url":"https://github.com/wolfgangmm/eXide/pull/136","id":185741091,"number":136,"title":"handle null & empty sequences in adaptive output","user":{"login":"joewiz","id":59118,"avatar_url":"https://avatars.githubusercontent.com/u/59118?v=3","gravatar_id":"","url":"https://api.github.com/users/joewiz","html_url":"https://github.com/joewiz","followers_url":"https://api.github.com/users/joewiz/followers","following_url":"https://api.github.com/users/joewiz/following{/other_user}","gists_url":"https://api.github.com/users/joewiz/gists{/gist_id}","starred_url":"https://api.github.com/users/joewiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewiz/subscriptions","organizations_url":"https://api.github.com/users/joewiz/orgs","repos_url":"https://api.github.com/users/joewiz/repos","events_url":"https://api.github.com/users/joewiz/events{/privacy}","received_events_url":"https://api.github.com/users/joewiz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-27T18:09:27Z","updated_at":"2016-10-28T11:25:23Z","closed_at":"2016-10-28T11:21:21Z","pull_request":{"url":"https://api.github.com/repos/wolfgangmm/eXide/pulls/136","html_url":"https://github.com/wolfgangmm/eXide/pull/136","diff_url":"https://github.com/wolfgangmm/eXide/pull/136.diff","patch_url":"https://github.com/wolfgangmm/eXide/pull/136.patch"},"body":"before, results including JSON null values (i.e., an empty sequence in the value of a map entry) led to a silent error. now, the handling is as follows:\r\n```xquery\r\nparse-json(' {\"hello\": null} ')\r\n```\r\nreturns\r\n```xquery\r\nmap { \"message\": () }\r\n```"},"comment":{"url":"https://api.github.com/repos/wolfgangmm/eXide/issues/comments/256897312","html_url":"https://github.com/wolfgangmm/eXide/pull/136#issuecomment-256897312","issue_url":"https://api.github.com/repos/wolfgangmm/eXide/issues/136","id":256897312,"user":{"login":"joewiz","id":59118,"avatar_url":"https://avatars.githubusercontent.com/u/59118?v=3","gravatar_id":"","url":"https://api.github.com/users/joewiz","html_url":"https://github.com/joewiz","followers_url":"https://api.github.com/users/joewiz/followers","following_url":"https://api.github.com/users/joewiz/following{/other_user}","gists_url":"https://api.github.com/users/joewiz/gists{/gist_id}","starred_url":"https://api.github.com/users/joewiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewiz/subscriptions","organizations_url":"https://api.github.com/users/joewiz/orgs","repos_url":"https://api.github.com/users/joewiz/repos","events_url":"https://api.github.com/users/joewiz/events{/privacy}","received_events_url":"https://api.github.com/users/joewiz/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T11:25:23Z","updated_at":"2016-10-28T11:25:23Z","body":"Thanks, Wolfgang! I realize when looking at the diff that I didn't commit my final version.  (It returns \"null\" instead of \"()\".) I'll submit another fix this morning."}}
{"actor":{"display_login":"joewiz"}}