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

Docs do not seem to mention case-sensitive field handling #400

Closed
extemporalgenome opened this issue Jul 10, 2023 · 0 comments
Closed

Docs do not seem to mention case-sensitive field handling #400

extemporalgenome opened this issue Jul 10, 2023 · 0 comments

Comments

@extemporalgenome
Copy link
Contributor

encoding/json matches struct field names case-insensitively, but this library appears to handle field names case-sensitively.

This will be surprising to some users who are adopting this library with the expectation that much of the behavior (such as json struct tag support) is broadly compatible with the stdlib. This tradeoff should at least be documented.

@ugorji ugorji closed this as completed in 77eda90 Nov 28, 2023
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

1 participant