What is the best method of handling the deserialization of JSON to a C# object when some nodes are dynamic? Can I annotate a class with a wildcard like “ID#”, and have those nodes always deserialize to a specific class? Any suggestions in this case? I have hundreds of nodes nested within a very large JSON response, where most are NOT dynamic, but the list of “people” is, unfortunately, represented like this example (a bunch of “ID123456” nodes…)
{
"name":"test",
"details":{
"ID297983":{
"person":{
"fullName":"Ted Doe"
}
},
"ID456034":{
"person":{
"fullName":"Fred Smith"
}
},
"ID237090":{
"person":{
"fullName":"Jack Jones"
}
}
}
}