Is there a way I can get the JSON deserializer to reject DateTime’s that aren’t in ISO8601 format?
I’ve set the
DateHandler but this just seems to control the serialization.
JsConfig.DateHandler = DateHandler.ISO8601;
I’ve also set
JsConfig.ThrowOnDeserializationError = true;
The reason I don’t want to allow other formats is that I have
JsConfig.SkipDateTimeConversion = true;. This option only works for ISO dates.