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

check that JsonObject's values are not accessed without checking their existence #24

Open
eemhu opened this issue Feb 18, 2025 · 1 comment
Assignees

Comments

@eemhu
Copy link
Contributor

eemhu commented Feb 18, 2025

Description

Before any usage of getString(), get(), etc. the existence of the JSON key should be checked wih containsKey() and the type should be also checked.

@eemhu eemhu self-assigned this Feb 18, 2025
@eemhu
Copy link
Contributor Author

eemhu commented Feb 19, 2025

Seems like all of the keys are checked before accessing them in the current version.

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