RestKit complex and simple JSON RKObjectMapping almost working, but
问题 I have been researching this issue. Here are a few discoveries that will help map this JSON response in RestKit The JSON response object contains three top level objects : locations is an array cityKey object stateKey object Since Restkit is written in Objective-C, I looked at it as if I were going to directing map these objects and parse-out data I wrote the following code to map the NSDictionary portion of the Location Class\Object: RKObjectMapping* locationMapping = [RKObjectMapping