SharpSerializer icon indicating copy to clipboard operation
SharpSerializer copied to clipboard

Ignore attributes/properties from deserialization

Open EliAaron opened this issue 4 years ago • 0 comments

There are no settings to ignore attributes/properties from deserialization.

The settings: SharpSerializerSettings.AdvancedSettings.AttributesToIgnore SharpSerializerSettings.AdvancedSettings.PropertiesToIgnore Are only used to ignore from serialization, not from deserialization.

It would be nice if there was a built in way to do this.

I found a workaround from an answer I got to a question I posted about this here: SharpSerializer: Ignore attributes/properties from deserialization

EliAaron avatar Nov 04 '21 11:11 EliAaron