Pull Json data from json file mentioned as an entry in other json file through c#

Apr 12, 2014 at 10:11 PM
Edited Apr 12, 2014 at 11:11 PM
I have two related classes like the following
 public class college

     public string Name{get;set}
     public int Id{get;set;}
     public domain MyDomain{get;set;}

  public class domain
    public string Name{get;set;}
    public string TypeOfCourse{get;set;}

and I have a json file called CollegeConfig.json and inside this file here is the json data
     "currentVersion": 1,
     "college": [
        "name": "somename",
        "id": "10",
and there is a separate json file for object domain called domain.json. I'm stuck at domain being null in CollegeConfig.json and having everything mentioned in terms of json data in domain.json. How can I get all the json data from inside domain.json file by just by looping through (I already looped through college class and reached MyDomain property which is null using c#) college class and getting a MyDomain property inside of it and then populating that MyDomain property from collegeconfig.json pulling all json data from domain.json.

In other words what should be the replacement value for "domain":null in collegeconfig.json file so that it can pull all the json data from domain.json file itself.