MissingMemberHandling attributes instructs Json.Net to issue an error if json text contains property that is missing from C# class. I want the inverse behaviour as well. I want that Json.Net issues an error if there is a C# property that is missing from json text.
MissingMemberHandling attributes instructs Json.Net to issue an error if json text contains property that
Share
I little bit of source digging accomplished with documentation search showed
Applying the above on class marks all of it fields required for de-serialization. As well,
JsonObjectattribute is inherited, what in my case is very helpful.