System.Text.Json: Ignore Invalid Enum #46003
Unanswered
TonyValenti
asked this question in
Q&A
Replies: 1 comment
-
This might help: https://stackoverflow.com/questions/57893720/how-can-i-get-a-null-value-instead-of-a-serialization-error-when-deserializing-a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone have code for an enum converter that tries to deserialize a value and if it doesn't, returns a default value (or perhaps null) instead?
Beta Was this translation helpful? Give feedback.
All reactions