Why System.Version in JSON string does not deserialize correctly?
Context: I need to pass an object containing a large number of properties/fields (to UI Layer from Middle Tier Layer). Among this list of properties, one is of type Version which is not getting deserialized correctly from JSON string format. I have a chosen JSON format over XML as JSON serialization to string will return short string result. Problem: System.Version does not get deserialized correctly. I have tried two different .NET Libraries. Following are the code snippets for each: Code Snippet 1 using ServiceStack .NET library : var version = new Version(1, 2, 3, 0); string reportJSON =