I want to validate the json input before it gets deserialised to my objects
Example:
{"ID": ["1234"]}
, is valid = and gets deserialised to my POCO class
{"ID": ["1234"
, is not a valid JSON and I want to throw an error
I want to throw an error but right now Web API gracefully handling it and deserialising to the appropriate class. Is there anyway I can intercept the conversion and validate the the Input json before it reaches my controller?