0
velu created
Hi,
How to set lowercase or Uppercase properties name in Webapi
Thanks.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
3 Answer(s)
-
0
Hi @velu,
You can add
[JsonProperty("name")]or[JsonProperty("NAME")]attribute to your fields.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
Is there any way to set this globally to convert all properties to uppercase or lowercase.
Thanks
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
You can refer to this: https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3588#issuecomment-402696300
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)