How do I ignore duplicate fields?
For example I have this raw json { "Value": 3, "Name": "Test", "value": "irrelevant" }
I would like to ignore value because my target type has public int Value { get; set; }
We have this kind of issue on most of the data from the client side views. In asp.net core, how do we instruct the json serializer to use the property that matches the type in the target?
Cheers,