{"action":"created","issue":{"url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/93","labels_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/93/comments","events_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/93/events","html_url":"https://github.com/Hearst-DD/ObjectMapper/issues/93","id":63777041,"number":93,"title":"Can't map array from root node of json","user":{"login":"Romixery","id":11367383,"avatar_url":"https://avatars.githubusercontent.com/u/11367383?v=3","gravatar_id":"","url":"https://api.github.com/users/Romixery","html_url":"https://github.com/Romixery","followers_url":"https://api.github.com/users/Romixery/followers","following_url":"https://api.github.com/users/Romixery/following{/other_user}","gists_url":"https://api.github.com/users/Romixery/gists{/gist_id}","starred_url":"https://api.github.com/users/Romixery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romixery/subscriptions","organizations_url":"https://api.github.com/users/Romixery/orgs","repos_url":"https://api.github.com/users/Romixery/repos","events_url":"https://api.github.com/users/Romixery/events{/privacy}","received_events_url":"https://api.github.com/users/Romixery/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-23T17:06:49Z","updated_at":"2015-03-25T19:06:19Z","closed_at":"2015-03-25T13:57:53Z","body":"Hi. I have following json:\r\n<code>\r\n[\r\n  {\r\n    \"id\": 12,\r\n    \"name\": \"Alex\",\r\n    \"age\": 18\r\n  },\r\n  {\r\n    \"id\": 13,\r\n    \"name\": \"John\",\r\n    \"age\": 23\r\n  }\r\n]\r\n</code>\r\n\r\nI parsed this json by \"Jackson\" java library and use this json in multiple app. And now i want parse this in swift in iOS app. I make each object of this array as Mappable, But i don't know how i can map this as Array<ProfileInfo> where \"ProfileInfo\" is my Mappable object. I wrote this code:\r\n<code>\r\nMapper<[ProfileInfo]>().map(string: json);\r\n</code>\r\nBut get error that say [ProfileInfo] is not Mappable.\r\nPlease help ! Thank's."},"comment":{"url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/comments/86175316","html_url":"https://github.com/Hearst-DD/ObjectMapper/issues/93#issuecomment-86175316","issue_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/93","id":86175316,"user":{"login":"Romixery","id":11367383,"avatar_url":"https://avatars.githubusercontent.com/u/11367383?v=3","gravatar_id":"","url":"https://api.github.com/users/Romixery","html_url":"https://github.com/Romixery","followers_url":"https://api.github.com/users/Romixery/followers","following_url":"https://api.github.com/users/Romixery/following{/other_user}","gists_url":"https://api.github.com/users/Romixery/gists{/gist_id}","starred_url":"https://api.github.com/users/Romixery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romixery/subscriptions","organizations_url":"https://api.github.com/users/Romixery/orgs","repos_url":"https://api.github.com/users/Romixery/repos","events_url":"https://api.github.com/users/Romixery/events{/privacy}","received_events_url":"https://api.github.com/users/Romixery/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T19:06:19Z","updated_at":"2015-03-25T19:06:19Z","body":"Thanks. Work's great !!!!....."}}