JamesNK / Newtonsoft.Json

Json.NET is a popular high-performance JSON framework for .NET
https://www.newtonsoft.com/json
MIT License
10.64k stars 3.24k forks source link

deserialize object Ignore case #2971

Open 1269140053 opened 1 week ago

1269140053 commented 1 week ago

I have a JSON string:{"e":"aggTrade","E":1720169967226} I need to deserialize it into an object,I need to ignore capitalization image

elgonzo commented 1 week ago

I need to ignore capitalization

What exactly is this supposed to mean, what is the desired outcome of wanting this? Given that you have two different json properies "e" and "E", it seems rather unwise wanting to ignore capitalization in this situation. Basically, it is completely unclear what exactly you are trying to achieve here.

To be able to help, you need to provide us with the following information: