System.Text.Json: Deserializing enums with spaces in their names #47441
Unanswered
TonyValenti
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Try |
Beta Was this translation helpful? Give feedback.
0 replies
-
@huoyaoyuan I just tested this and it doesn't seem to compile. What am I doing wrong?
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With Newtonsoft you could use
EnumDataMember
to allow deserializing an enum that has a space in the name.How do you do that with STJ? I don't really need a whole converter for that do I?
Beta Was this translation helpful? Give feedback.
All reactions