{"action":"closed","issue":{"url":"https://api.github.com/repos/vim/vim/issues/593","repository_url":"https://api.github.com/repos/vim/vim","labels_url":"https://api.github.com/repos/vim/vim/issues/593/labels{/name}","comments_url":"https://api.github.com/repos/vim/vim/issues/593/comments","events_url":"https://api.github.com/repos/vim/vim/issues/593/events","html_url":"https://github.com/vim/vim/issues/593","id":128405291,"number":593,"title":"jsondecode() parses incorrect JSON","user":{"login":"ZyX-I","id":322097,"avatar_url":"https://avatars.githubusercontent.com/u/322097?v=3","gravatar_id":"","url":"https://api.github.com/users/ZyX-I","html_url":"https://github.com/ZyX-I","followers_url":"https://api.github.com/users/ZyX-I/followers","following_url":"https://api.github.com/users/ZyX-I/following{/other_user}","gists_url":"https://api.github.com/users/ZyX-I/gists{/gist_id}","starred_url":"https://api.github.com/users/ZyX-I/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZyX-I/subscriptions","organizations_url":"https://api.github.com/users/ZyX-I/orgs","repos_url":"https://api.github.com/users/ZyX-I/repos","events_url":"https://api.github.com/users/ZyX-I/events{/privacy}","received_events_url":"https://api.github.com/users/ZyX-I/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-01-24T15:39:56Z","updated_at":"2016-06-28T20:31:36Z","closed_at":"2016-06-28T20:31:36Z","body":"With Vim 7.4.1165 try `jsondecode('[,]')`. This will produce `[v:none]`, but this string is not a correct JSON. `jsondecode('[1,]')` produces `[1]`, but JSON spec does not allow trailing commas. `jsondecode('{1: 1,}')` produces `{'1': 1}`, but JSON spec does not allow non-string keys or trailing comma."}}
{"actor":{"display_login":"chrisbra"}}