I'm looking for the inverse behavior of MissingMemberHandling (and of CheckAdditionalContent?)
The behavior I want is that a call to JsonSerializer.Populate
if its input stream is missing fields that, if present, would cause a value to be set in the destination object. Equivalently (in my case): I want the deserializer to check that the JSON contains all the fields and values that would be present if I were to (re)serialize the populated object.
How does one ask the deserializer to check this?
I don't necessarily have ownership over the types that I'm (de)serializing so I can't add my own tags.