Camel Case Json Serialize / Deserialize #700
Unanswered
CodingFlow
asked this question in
Q&A
Replies: 1 comment
-
have a look at the examples here if you are using generated serialization https://github.com/nats-io/nats.net/blob/main/src/NATS.Client.JetStream/NatsJSJsonSerializer.cs#L98 if you need help setting up a custom serializer in NATS .NET if you can drop s minimal Program.cs here I can try to help. |
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
-
Having the classic issue of needed to set camel case json serialization/deserialization for PascalCase C# classes. I can see the setting for it in System.Text.Json, but I don't how to set it for nats.net. I looked over the serialization section of the nets.net documentation, but got quite lost trying to figure it out. I'm trying to set it up for
ConsumeAsync
. Thanks in advance for any help!Beta Was this translation helpful? Give feedback.
All reactions