I am using Restkit to seed a database using a Json file. My problem is with how to construct the file to represent the relationships between the objects when the same object is referenced by two other objects.
In my application I have a set of Locations, each of which can have 1 or more People, however I also have a set of Groups, each of which can also have 1 or more People. The names don't matter. What matters is that some People exist both in a Group and in a Location. How can I represent these relationships using a Json file and correctly map these relationships to objects using Restkit?