{"action":"closed","issue":{"url":"https://api.github.com/repos/serde-rs/serde/issues/512","repository_url":"https://api.github.com/repos/serde-rs/serde","labels_url":"https://api.github.com/repos/serde-rs/serde/issues/512/labels{/name}","comments_url":"https://api.github.com/repos/serde-rs/serde/issues/512/comments","events_url":"https://api.github.com/repos/serde-rs/serde/issues/512/events","html_url":"https://github.com/serde-rs/serde/issues/512","id":172330551,"number":512,"title":"Length should be optional for SeqDeserializer and MapDeserializer","user":{"login":"dtolnay","id":1940490,"avatar_url":"https://avatars.githubusercontent.com/u/1940490?v=3","gravatar_id":"","url":"https://api.github.com/users/dtolnay","html_url":"https://github.com/dtolnay","followers_url":"https://api.github.com/users/dtolnay/followers","following_url":"https://api.github.com/users/dtolnay/following{/other_user}","gists_url":"https://api.github.com/users/dtolnay/gists{/gist_id}","starred_url":"https://api.github.com/users/dtolnay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtolnay/subscriptions","organizations_url":"https://api.github.com/users/dtolnay/orgs","repos_url":"https://api.github.com/users/dtolnay/repos","events_url":"https://api.github.com/users/dtolnay/events{/privacy}","received_events_url":"https://api.github.com/users/dtolnay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serde-rs/serde/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-21T17:13:55Z","updated_at":"2016-08-22T13:05:51Z","closed_at":"2016-08-22T13:05:51Z","body":"They use it for validating that `visit` was called the expected number of times before `end`. This is incongruous with the rest of Serde where we don't do runtime checks to detect API misuse.\r\n\r\nThey also use it for `size_hint` but should just return unknown if not given a length.\r\n\r\nWe can make length optional in a non-breaking change by adding another constructor.\r\n\r\ncc @nox"}}
{"actor":{"display_login":"dtolnay"}}