Quantcast
Channel: Json.NET
Viewing all articles
Browse latest Browse all 1767

Closed Issue: Add support for ISupportInitialize interface [21269]

$
0
0
So that deserialization calls BeginInit right after constructing the object and before deserializing properties, and EndInit when it's done.
 
This would allow validation for example of the deserialized values.
Comments: Closing as I still don't want this and there is no demand. Also ISupportInitialize isn't in WinRT so won't be available in many versions of Json.NET which I'm trying to get away from.

Viewing all articles
Browse latest Browse all 1767


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>