Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore attributes/properties from deserialization #16

Open
EliAaron opened this issue Nov 4, 2021 · 0 comments
Open

Ignore attributes/properties from deserialization #16

EliAaron opened this issue Nov 4, 2021 · 0 comments

Comments

@EliAaron
Copy link

EliAaron commented Nov 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant