{"action":"created","issue":{"url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/76","repository_url":"https://api.github.com/repos/drmohundro/SWXMLHash","labels_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/76/comments","events_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/76/events","html_url":"https://github.com/drmohundro/SWXMLHash/issues/76","id":155384337,"number":76,"title":"Deserializing a single element into an array","user":{"login":"joeltrew","id":5962394,"avatar_url":"https://avatars.githubusercontent.com/u/5962394?v=3","gravatar_id":"","url":"https://api.github.com/users/joeltrew","html_url":"https://github.com/joeltrew","followers_url":"https://api.github.com/users/joeltrew/followers","following_url":"https://api.github.com/users/joeltrew/following{/other_user}","gists_url":"https://api.github.com/users/joeltrew/gists{/gist_id}","starred_url":"https://api.github.com/users/joeltrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeltrew/subscriptions","organizations_url":"https://api.github.com/users/joeltrew/orgs","repos_url":"https://api.github.com/users/joeltrew/repos","events_url":"https://api.github.com/users/joeltrew/events{/privacy}","received_events_url":"https://api.github.com/users/joeltrew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-17T23:18:11Z","updated_at":"2016-05-18T11:22:53Z","closed_at":null,"body":"Hi there, I'm wondering if its possible to deserialize a single XML element into an array.\r\n\r\nFor example with the given xml\r\n`<distances>1,2,3,4,5,6,7</distances>`\r\n\r\nIs it possible to deserialize into [Int] ?\r\n\r\nThanks! "},"comment":{"url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/comments/219997800","html_url":"https://github.com/drmohundro/SWXMLHash/issues/76#issuecomment-219997800","issue_url":"https://api.github.com/repos/drmohundro/SWXMLHash/issues/76","id":219997800,"user":{"login":"joeltrew","id":5962394,"avatar_url":"https://avatars.githubusercontent.com/u/5962394?v=3","gravatar_id":"","url":"https://api.github.com/users/joeltrew","html_url":"https://github.com/joeltrew","followers_url":"https://api.github.com/users/joeltrew/followers","following_url":"https://api.github.com/users/joeltrew/following{/other_user}","gists_url":"https://api.github.com/users/joeltrew/gists{/gist_id}","starred_url":"https://api.github.com/users/joeltrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeltrew/subscriptions","organizations_url":"https://api.github.com/users/joeltrew/orgs","repos_url":"https://api.github.com/users/joeltrew/repos","events_url":"https://api.github.com/users/joeltrew/events{/privacy}","received_events_url":"https://api.github.com/users/joeltrew/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T11:22:53Z","updated_at":"2016-05-18T11:22:53Z","body":"I ended up extending XMLIndexer with a function `deserializeStringPartsToArray<T: StringInitializable>(seperator: String) -> [T]? ` which I use in place of `.value()`"}}