I am using mantle framework
to parse JSON
file.
My JSON
object Looks like this
[{
key:value
key:value
},
{
key:value
key:value
} ]
My object is array
that doesn't have key.
How could we parse this array
? How should the JSONKeyPathsByPropertyKey
method be implemented?
As mentiond on the Library description
This method Specifies how to map property keys to different key paths in
JSON
+ (NSDictionary *)JSONKeyPathsByPropertyKey {
return @{
@"items" : @"",
};
So how could we map array
property to JSON
object that doesn't have a key ?