title: Dynamically reading .json file with multiple objects
body: <p>An application is providing me a .json file that contains an unknown amount of objects. On top of that, the objects content also changes quite a bit. </p>
  
  <p>Here is an example of a json file:</p>
  
  <pre><code>{  
     "AVRunning":{  
        "Description":"Symantec Antivirus Service",
        "Status":true
     },
     "CorrectOU":{  
        "Description":"Server in Correct OU",
        "Status":true
     },
     "RoleAdGroups":{  
        "Result":true,
        "Group":"Server-Admin"
     },
     "DefaultAdGroups":[  
        {  
           "Result":true,
           "Group":"Domain Admins"
        },
        {  
           "Result":true,
           "Group":"Server-Admins"
        },
        {  
           "Result":true,
           "Group":"SERVERNAME-ADMINS"
        }
     ]
  }
  </code></pre>
  
  <p>This is just an example of a json file. It could contain many more objects, as well as an unknown amount of content within it.</p>
  
  <p>My question to you all, is how do I serialize this into a JSON object in c# once I read the content in as one gigantic string? </p>
  
  <p>Also, I may be overcomplicationg the process here. Once I read this in, I want to pass the data to my view. If this can't be done in c#, would it be easier to do it in Jquery? Or should it be done there in the first place? The file that I am reading in is a local file, so I can't access the data directly in jquery.</p>
  
  <p>I know JSON.NET is a possible tool, but from what I have read, I am not sure how to create the objects dynamically.</p>