You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using TypeConverter for this is quite complicated and as far as I understand full parsing needs to be implemented.
The feature is present in Json.Net and I expected to find it here too.
Some interfaces for ctor parameter's name and value conversion would be great too.
The text was updated successfully, but these errors were encountered:
At first I didn't think this would be possible. You can't usually deserialize something that doesn't have a default constructor. In order to deserialize it needs to know what constructor it can call, and also what parameters of that constructor map to the properties it's trying to set. The deserializer has neither of those critical pieces of info and thus it can't work. After I looked around some I realized that the Jackson serializer for Java accomplishes this using Annotations.
Using TypeConverter for this is quite complicated and as far as I understand full parsing needs to be implemented.
The feature is present in Json.Net and I expected to find it here too.
Some interfaces for ctor parameter's name and value conversion would be great too.
The text was updated successfully, but these errors were encountered: