Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deserialize object Ignore case #2971

Open
1269140053 opened this issue Jul 5, 2024 · 1 comment
Open

deserialize object Ignore case #2971

1269140053 opened this issue Jul 5, 2024 · 1 comment

Comments

@1269140053
Copy link

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

@elgonzo
Copy link

elgonzo commented Jul 5, 2024

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:

  • what is the exact type declaration of the type/object you want your example json deserialize into
  • which fields/properties/constructor parameters in this type should receive the values of exactly which json properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants