Replies: 1 comment 1 reply
-
@tkdDaniel Please find guidance on how to override the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm trying to serialize an enum property in C# and want it to be represented as an integer rather than a string.
Here’s my code:
Currently, the JSON output is:
But I need this instead:
How can I achieve this? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions