C
C#15mo ago
Kein

❔ Skipping null values in .NET XML serializer

I have data class with 113 properties. I want to skip serializing null value, including Nullable value types like int Am I still destined to write all 113 public bool ShouldSerializeMyNullableProp1,2,3,4,5...() for this in the year of our Lord 2023?
1 Reply
Accord
Accord15mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?