title: RestKit: mapping JSON array of strings
body: <p>Given the following JSON:</p>
  
  <pre><code>{
     "someKey":"someValue",
     "otherKey":"otherValue",
     "features":[
        "feature1",
        "feature2",
        "feature3"
     ]
  }
  </code></pre>
  
  <p>I am mapping this JSON into <code>NSManagedObject</code>s with <code>RKMapperOperation</code> and <code>RKEntityMapping</code>(in this example I would have 2 entity mappings: one for the top level object and another one for my Feature class). </p>
  
  <p>The top level object mapping is trivial: two attribute mappings plus a relationship one(features) for the relation with Feature.</p>
  
  <p>My question is,how to map the features JSON array into an array of Feature objects? The Feature class has just one property <code>name</code> where I want to store "feature1", "feature2", etc plus a reference to the parent object (the top level one). Something like this:</p>
  
  <pre><code>@interface Feature : NSManagedObject
  
  //In the implementation file both properties are declared with @dynamic.
  @property (nonatomic, retain) NSString * name;
  @property (nonatomic, retain) MyTopLevelObject *myTopLevelObject;
  
  @end
  </code></pre>
  
  <p>Any idea?</p>