I have a scnerio where i donot know the names of the keys so properties can;t be created beforehand. The JSON needs to be parsed and loaded into Dictionary that is present in a class. The format of JSON is like
"SearchCriteria":{
"firstname":"user1",
"surname":"User2"
},
"RequiredGroups":{
"UserGroup":"g1",
"TeacherGroup":"g2"
}
The problem is that the Parameters count and name are not known and can be anything. The JSON also contains other sections as well such as RequiredGroups which have known key names and are mapped with Objects. Need to convert into Dictionary. Any leads....