New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing Array #101
Comments
Hello, @vishaldeshai. |
Below are my stucture: FEMMapping *mapping = [[FEMMapping alloc]initWithEntityName:[PlannVisit entityName]]; ProductList is a Dictionary so it working fine but VisitStatusList is an array so that is not working.... |
// VisitStatusList Mapping +(FEMMapping *)defaultMapping{ |
Can you also share part of the JSON (only the one that shows
|
{ |
Thanks a lot! I'll take a look at it today in the evening. Fix should be rolled out soon (either today's evening or tomorrow) |
Sorry i have issue with relationship defined |
Hello,
i am parsing following:
reason: 'Unacceptable type of value for ordered to-many relationship: property = "visitStatusList"; desired type = NSOrderedSet; given type = __NSArrayM; value = (
"<VisitStatus: 0x7c64fec0> (entity: VisitStatus; id: 0x7c64ff20 x-coredata:///VisitStatus/tB60DAD31-2D22-4158-B2B3-4D27C5F75A763 ; data: {\n conclusion = "";\n createdBy = 18;\n createdByName = "Manager Raina";\n createdTime = "Jul 11, 2017 11:29:05 AM";\n iD = 729;\n interactionTime = "Jul 11, 2017 11:28:00 AM";\n interactionTypeID = 1;\n interactionWith = 0;\n interactionWithName = "";\n nextActionID = 1;\n nextActionTime = "Jul 12, 2017 4:30:00 AM";\n plannVisit = nil;\n visitID = 1360;\n visitOutcomeID = 1;\n visitTypeID = 1;\n})",
"<VisitStatus: 0x7c650cd0> (entity: VisitStatus; id: 0x7c005f20 x-coredata:///VisitStatus/tB60DAD31-2D22-4158-B2B3-4D27C5F75A764 ; data: {\n conclusion = "";\n createdBy = 19;\n createdByName = "Admin Lee";\n createdTime = "Aug 1, 2017 12:42:25 PM";\n iD = 739;\n interactionTime = "Aug 1, 2017 12:42:00 PM";\n interactionTypeID = 1;\n interactionWith = 0;\n interactionWithName = "";\n nextActionID = 1;\n nextActionTime = "Aug 1, 2017 2:30:00 PM";\n plannVisit = nil;\n visitID = 1360;\n visitOutcomeID = 1;\n visitTypeID = 1;\n})"
).'
thanks in advance.....
The text was updated successfully, but these errors were encountered: