Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这可能是一个非常简单的问题,但我无法使用 RestKit 从我的 JSON 数据中映射多个类在同一 keyPath 上。我的示例响应是:
{ "name":"john" "place":"johns" "status": true "message":"OK" }
现在,问题是,我想将名称和地点映射到名为 Person 的类,并将状态和消息映射到另一个类 Status。任何人都可以帮助我,我该怎么做?