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

all: safer non-string json (fixes #3260) #3265

Merged
merged 4 commits into from
Mar 18, 2024

Conversation

Okuro3499
Copy link
Collaborator

fixes #3260
this pr addresses unsupportedOperationException by enhance the getString method to explicitly check whether the JsonElement is a JsonPrimitive and is suitable for conversion to a string

@Okuro3499 Okuro3499 requested a review from dogi March 18, 2024 17:09
@dogi dogi changed the title actions: safe handling of non-string JSON Elements (fixes #3260) all: safer non-string JSON (fixes #3260) Mar 18, 2024
@dogi dogi changed the title all: safer non-string JSON (fixes #3260) all: safer non-string json (fixes #3260) Mar 18, 2024
@dogi dogi merged commit 76cd05e into master Mar 18, 2024
2 checks passed
@Okuro3499 Okuro3499 deleted the 3260-unsupportedoperationexception-jsonobject branch March 20, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UnsupportedOperationException: JsonObject
2 participants