I have a Json
serialized configuration in which I need to deserialize the object using
JsonConvert.DeserializeObject<>(jsonConfig)
to Myclass list.
In jsonConfig
there may be some properties missing where I got an exception like below.
Required property 'xxx' not found in JSON. Path '[0].yyy',
So is there any way to handle the undefined values while deserializing an object in c#
?