How to get Chr.Avro Serializer to respect [JsonProperty()] names #264
-
Hello all, I'm sure this is a simple problem, I was just wondering how to get the Serializer to respect some names we have defined differently using the JsonProperty annotation. If i'm not mistaken, doesn't Chr.Avro use Newtonsoft under the hood? I would've thought this functionality would come by default as we use Newtonsoft in other areas of our project, with those annotations, without problem. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
dstelljes
Jun 26, 2023
Replies: 1 comment 1 reply
-
Try |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
IOnlyFetchBranches
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try
[DataMember(Name = "...")]
. You can read more about that here (the last part of the Records section).