MVC Deserializer doesn't load object fields of type nullable(of T)

29 views
Skip to first unread message

Abrahkkan Alastor S.E.

unread,
Apr 3, 2023, 5:57:39 PMApr 3
to KnockoutJS
Hi!
I'm having a problem with the nullable(of T) fields of the target object where I'm deserializing the json data received.

My Json data contains not null values for those fields but when it is deserialized into the object, all normal fields are populated with the correct values, and the nullable(of byte) or nullable(of integer) fields are not loaded with the values received instead they stay with a null value.

Has anyone seen this problem? If so do you know something that could be done to fix it.

Thanks.

Mauricio
Reply all
Reply to author
Forward
0 new messages