-
Notifications
You must be signed in to change notification settings - Fork 271
Class inheritance not supported in deserialization? #43
Comments
thanks, this is related to MessagePack-CSharp/MessagePack-CSharp#174 |
I've uploaded |
Oh thats great thanks so much neuecc !! Now I should be able to switch over from old Json.net library to yours 👍 |
I have v1.3.7 and I have this issue with interface inheritance, the inherited interface has properties that don't get serialized... |
I'll create a separate issue for this, I see the problem in the commit that adds this for 1.3.7; you're checking BaseType but not interfaces for public properties... |
Linked to #81 |
Hey there :)
I was trying to switch over from Json.NET to your utf8Json.
But I found out that it does not support inheritance of classes?
Example:
Json:
"_id": 1,
"name": "DummyName"
I have AllowPrivate set to true - so the Json file will deserialize the name, but not the properties from the inherited class JsonDBItem -> ID is still empty - in Json.NET this worked. Any chance to make this possible in utf8json?
Thanks alot,
Oliver
The text was updated successfully, but these errors were encountered: