{"action":"created","issue":{"url":"https://api.github.com/repos/EasyMapping/EasyMapping/issues/114","labels_url":"https://api.github.com/repos/EasyMapping/EasyMapping/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/EasyMapping/EasyMapping/issues/114/comments","events_url":"https://api.github.com/repos/EasyMapping/EasyMapping/issues/114/events","html_url":"https://github.com/EasyMapping/EasyMapping/issues/114","id":109791242,"number":114,"title":"How to map array of strings?","user":{"login":"Sh1mor1nka","id":2759167,"avatar_url":"https://avatars.githubusercontent.com/u/2759167?v=3","gravatar_id":"","url":"https://api.github.com/users/Sh1mor1nka","html_url":"https://github.com/Sh1mor1nka","followers_url":"https://api.github.com/users/Sh1mor1nka/followers","following_url":"https://api.github.com/users/Sh1mor1nka/following{/other_user}","gists_url":"https://api.github.com/users/Sh1mor1nka/gists{/gist_id}","starred_url":"https://api.github.com/users/Sh1mor1nka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sh1mor1nka/subscriptions","organizations_url":"https://api.github.com/users/Sh1mor1nka/orgs","repos_url":"https://api.github.com/users/Sh1mor1nka/repos","events_url":"https://api.github.com/users/Sh1mor1nka/events{/privacy}","received_events_url":"https://api.github.com/users/Sh1mor1nka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"DenHeadless","id":853604,"avatar_url":"https://avatars.githubusercontent.com/u/853604?v=3","gravatar_id":"","url":"https://api.github.com/users/DenHeadless","html_url":"https://github.com/DenHeadless","followers_url":"https://api.github.com/users/DenHeadless/followers","following_url":"https://api.github.com/users/DenHeadless/following{/other_user}","gists_url":"https://api.github.com/users/DenHeadless/gists{/gist_id}","starred_url":"https://api.github.com/users/DenHeadless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenHeadless/subscriptions","organizations_url":"https://api.github.com/users/DenHeadless/orgs","repos_url":"https://api.github.com/users/DenHeadless/repos","events_url":"https://api.github.com/users/DenHeadless/events{/privacy}","received_events_url":"https://api.github.com/users/DenHeadless/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-10-05T13:01:52Z","updated_at":"2015-10-05T16:25:17Z","closed_at":"2015-10-05T16:09:23Z","body":"Hello, i'm new in EasyMapping, i need to map array of strings to CoreData, key - \"photos\", how can i do this? In my xcdatamodeld i create key with NSData type i hope i can map array to NSData, or i can't? Or there are some other ways? Thank you!\r\n\r\n```code\r\n{\r\n     id: 262,\r\n     title: 'Fort Hamilton',\r\n     photos : [\r\n                   'http://url//locations/47/photo/ab/db/eb/4d/2122/photo_2122.jpg',\r\n                   'http://url//locations/47/photo/5a/1e/3a/5a/2123/photo_2123.jpg'\r\n               ]\r\n}\r\n```\r\n\r\n\r\nUDP:\r\nand can i map such JSON\r\n```\r\n{\r\nstreet: 'bla',\r\ncity: 'bla bla',\r\ncoordinates:{\r\n           lat : 12345,\r\n           lon: 12345\r\n       }\r\n}\r\n```\r\n\r\nlike this\r\n```\r\n+(EKManagedObjectMapping *)addressMapping {\r\n    return [EKManagedObjectMapping mappingForEntityName:NSStringFromClass([Address class]) withBlock:^(EKManagedObjectMapping *mapping) {\r\n        [mapping mapPropertiesFromArray:@[@\"street\", @\"city\"]];\r\n// i don't want to create new NSManagedObject to store my \"lat\" and \"lon\", can i do this trick?\r\n        [mapping mapKeyPath:@\"coordinates.lat\" toProperty:@\"latitude\"];\r\n        [mapping mapKeyPath:@\"coordinates.lon\" toProperty:@\"longitude\"];\r\n    }];\r\n}\r\n```\r\nthank you!"},"comment":{"url":"https://api.github.com/repos/EasyMapping/EasyMapping/issues/comments/145590545","html_url":"https://github.com/EasyMapping/EasyMapping/issues/114#issuecomment-145590545","issue_url":"https://api.github.com/repos/EasyMapping/EasyMapping/issues/114","id":145590545,"user":{"login":"Sh1mor1nka","id":2759167,"avatar_url":"https://avatars.githubusercontent.com/u/2759167?v=3","gravatar_id":"","url":"https://api.github.com/users/Sh1mor1nka","html_url":"https://github.com/Sh1mor1nka","followers_url":"https://api.github.com/users/Sh1mor1nka/followers","following_url":"https://api.github.com/users/Sh1mor1nka/following{/other_user}","gists_url":"https://api.github.com/users/Sh1mor1nka/gists{/gist_id}","starred_url":"https://api.github.com/users/Sh1mor1nka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sh1mor1nka/subscriptions","organizations_url":"https://api.github.com/users/Sh1mor1nka/orgs","repos_url":"https://api.github.com/users/Sh1mor1nka/repos","events_url":"https://api.github.com/users/Sh1mor1nka/events{/privacy}","received_events_url":"https://api.github.com/users/Sh1mor1nka/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T16:25:17Z","updated_at":"2015-10-05T16:25:17Z","body":"Thank you very much Denis! I have last question for you :)\r\nShould i register all mapping or it's doing automatically? In example you swap because of different mappings."}}