-
Type: New Feature
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.4.2
-
Component/s: None
I would be happy to see support for parameterized constructors during deserialization process. The target constuctor may be marked with special attribute or selected automatically. Example of this feature is in JSON.NET.
This feature is very important when use Code Contracts. Current deserialization implementation with default parameter-less constructor fully incompatible with code contracts "invariants" so I forced to manually implement deseriaization for each type.
- related to
-
CSHARP-528 Support deserializing immutable types
- Closed