Skip to content

objectFromDictionary and objectFromJSON does not handle the relationships #7

@devKrishnan

Description

@devKrishnan

I have a set of NSManagedObjects which are related to each other.

When I tried converting the JSON to NSManagedObject the application crashed because it could not handle the plain NSDictionary inside the NSSet. The library was expecting an NSManagedObject.

Line:

[instance setValue:objValue forKey:key];

Method:

  • (BOOL)assignValue:(id)value instance:(id)instance key:(NSString )key propertyClass:(Class)propertyClass error:(NSError *)error

File Name:

AZReflection.m

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions