René's URL Explorer Experiment


Title: Fix ClassCastException in JSONML.toJSONArray and toJSONObject by OwenSanzas · Pull Request #1037 · stleary/JSON-java · GitHub

Open Graph Title: Fix ClassCastException in JSONML.toJSONArray and toJSONObject by OwenSanzas · Pull Request #1037 · stleary/JSON-java

X Title: Fix ClassCastException in JSONML.toJSONArray and toJSONObject by OwenSanzas · Pull Request #1037 · stleary/JSON-java

Description: A reference implementation of a JSON package in Java. - Fix ClassCastException in JSONML.toJSONArray and toJSONObject by OwenSanzas · Pull Request #1037 · stleary/JSON-java

Open Graph Description: Add type checking before casting parse() results to JSONArray/JSONObject. When parse() returns an unexpected type (e.g., String for malformed input), the code now throws a descriptive JSONException...

X Description: Add type checking before casting parse() results to JSONArray/JSONObject. When parse() returns an unexpected type (e.g., String for malformed input), the code now throws a descriptive JSONException...

Opengraph URL: https://github.com/stleary/JSON-java/pull/1037

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d1bdfc23-2aa7-e956-b073-5d96dfa2e710
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC10:EE4CD:103348C:15B4B4C:6A5AA4DA
html-safe-nonce04e5a7d92b02a1be3414770da05516707ff837e4f34b96fd805f01b5bfb6e68b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzEwOkVFNENEOjEwMzM0OEM6MTVCNEI0Qzo2QTVBQTREQSIsInZpc2l0b3JfaWQiOiI0ODk3NjA4OTQ5ODMyNTExNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3d9fb79ab5c58f388560d03031fe2a41da8f87838003e356ff1fbc10f1b0d2cc
hovercard-subject-tagpull_request:3214255977
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/stleary/JSON-java/1037/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5e3d37c2fc679390f38df854a345b35dc74a1433b9d7094a800ceab3e0da5c38/stleary/JSON-java/pull/1037
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5e3d37c2fc679390f38df854a345b35dc74a1433b9d7094a800ceab3e0da5c38/stleary/JSON-java/pull/1037
og:image:altAdd type checking before casting parse() results to JSONArray/JSONObject. When parse() returns an unexpected type (e.g., String for malformed input), the code now throws a descriptive JSONException...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameOwenSanzas
hostnamegithub.com
expected-hostnamegithub.com
None17a57ee6ab03686731c491fccb57e6a97c066a29d7cdf1a7d83c46f5c56684fc
turbo-cache-controlno-cache
go-importgithub.com/stleary/JSON-java git https://github.com/stleary/JSON-java.git
octolytics-dimension-user_id5107558
octolytics-dimension-user_loginstleary
octolytics-dimension-repository_id1187853
octolytics-dimension-repository_nwostleary/JSON-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1187853
octolytics-dimension-repository_network_root_nwostleary/JSON-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5cb870aa6b86b87be75e23ca7caec54726a25af9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stleary/JSON-java/pull/1037#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstleary%2FJSON-java%2Fpull%2F1037
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstleary%2FJSON-java%2Fpull%2F1037
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=stleary%2FJSON-java
Reloadhttps://github.com/stleary/JSON-java/pull/1037
Reloadhttps://github.com/stleary/JSON-java/pull/1037
Reloadhttps://github.com/stleary/JSON-java/pull/1037
stleary https://github.com/stleary
JSON-javahttps://github.com/stleary/JSON-java
Notifications https://github.com/login?return_to=%2Fstleary%2FJSON-java
Fork 2.6k https://github.com/login?return_to=%2Fstleary%2FJSON-java
Star 4.7k https://github.com/login?return_to=%2Fstleary%2FJSON-java
Code https://github.com/stleary/JSON-java
Issues 23 https://github.com/stleary/JSON-java/issues
Pull requests 1 https://github.com/stleary/JSON-java/pulls
Actions https://github.com/stleary/JSON-java/actions
Projects https://github.com/stleary/JSON-java/projects
Wiki https://github.com/stleary/JSON-java/wiki
Security and quality 0 https://github.com/stleary/JSON-java/security
Insights https://github.com/stleary/JSON-java/pulse
Code https://github.com/stleary/JSON-java
Issues https://github.com/stleary/JSON-java/issues
Pull requests https://github.com/stleary/JSON-java/pulls
Actions https://github.com/stleary/JSON-java/actions
Projects https://github.com/stleary/JSON-java/projects
Wiki https://github.com/stleary/JSON-java/wiki
Security and quality https://github.com/stleary/JSON-java/security
Insights https://github.com/stleary/JSON-java/pulse
stlearyhttps://github.com/stleary
stleary:masterhttps://github.com/stleary/JSON-java/tree/master
OwenSanzas:fix-jsonml-classcasthttps://github.com/OwenSanzas/JSON-java/tree/fix-jsonml-classcast
Conversationhttps://github.com/stleary/JSON-java/pull/1037
Commits2 (2)https://github.com/stleary/JSON-java/pull/1037/commits
Checkshttps://github.com/stleary/JSON-java/pull/1037/checks
Files changedhttps://github.com/stleary/JSON-java/pull/1037/files
Fix ClassCastException in JSONML.toJSONArray and toJSONObjecthttps://github.com/stleary/JSON-java/pull/1037#top
stlearyhttps://github.com/stleary
stleary:masterhttps://github.com/stleary/JSON-java/tree/master
OwenSanzas:fix-jsonml-classcasthttps://github.com/OwenSanzas/JSON-java/tree/fix-jsonml-classcast
https://github.com/OwenSanzas
OwenSanzashttps://github.com/OwenSanzas
Jan 27, 2026https://github.com/stleary/JSON-java/pull/1037#issue-3860214579
#1034https://github.com/stleary/JSON-java/issues/1034
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1037
https://github.com/OwenSanzas
Fix ClassCastException in JSONML.toJSONArray and toJSONObjecthttps://github.com/stleary/JSON-java/pull/1037/commits/9d14246bee04fae8f7199d281671773c9c11537d
9d14246https://github.com/stleary/JSON-java/pull/1037/commits/9d14246bee04fae8f7199d281671773c9c11537d
stleary#1034https://github.com/stleary/JSON-java/issues/1034
https://github.com/stleary
stlearyhttps://github.com/stleary
Jan 27, 2026https://github.com/stleary/JSON-java/pull/1037#issuecomment-3806632738
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1037
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1037
https://github.com/stleary
stlearyhttps://github.com/stleary
Jan 27, 2026https://github.com/stleary/JSON-java/pull/1037#issuecomment-3806652478
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1037
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1037
https://github.com/stleary
stlearyhttps://github.com/stleary
Approved - 3-day window https://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Approved%20-%203-day%20window%22
Jan 27, 2026https://github.com/stleary/JSON-java/pull/1037#event-22324834018
https://github.com/OwenSanzas
Add unit tests for JSONML ClassCastException fixhttps://github.com/stleary/JSON-java/pull/1037/commits/0737e04f8a12fc6a1fd26686c03b60374e4ce936
0737e04https://github.com/stleary/JSON-java/pull/1037/commits/0737e04f8a12fc6a1fd26686c03b60374e4ce936
stleary#1034https://github.com/stleary/JSON-java/issues/1034
https://github.com/apps/sonarqubecloud
sonarqubecloudhttps://github.com/apps/sonarqubecloud
Jan 28, 2026https://github.com/stleary/JSON-java/pull/1037#issuecomment-3810293559
https://sonarcloud.io/dashboard?id=stleary_JSON-java&pullRequest=1037
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 New issueshttps://sonarcloud.io/project/issues?id=stleary_JSON-java&pullRequest=1037&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/5ad34d7e6f2a5aa0d644209f46bb24fba00f31f704923ce46fe8434f94917f73/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67
0 Accepted issueshttps://sonarcloud.io/project/issues?id=stleary_JSON-java&pullRequest=1037&issueStatuses=ACCEPTED
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 Security Hotspotshttps://sonarcloud.io/project/security_hotspots?id=stleary_JSON-java&pullRequest=1037&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Coverage on New Codehttps://sonarcloud.io/component_measures?id=stleary_JSON-java&pullRequest=1037&metric=new_coverage&view=list
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Duplication on New Codehttps://sonarcloud.io/component_measures?id=stleary_JSON-java&pullRequest=1037&metric=new_duplicated_lines_density&view=list
See analysis details on SonarQube Cloudhttps://sonarcloud.io/dashboard?id=stleary_JSON-java&pullRequest=1037
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1037
https://github.com/OwenSanzas
OwenSanzashttps://github.com/OwenSanzas
Jan 28, 2026https://github.com/stleary/JSON-java/pull/1037#issuecomment-3810300712
@stlearyhttps://github.com/stleary
ClassCastException in JSONML.toJSONArray due to Unsafe Type Cast #1034https://github.com/stleary/JSON-java/issues/1034
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1037
https://github.com/stleary
stlearyhttps://github.com/stleary
Jan 30, 2026 https://github.com/stleary/JSON-java/pull/1037#pullrequestreview-3728604796
View reviewed changes https://github.com/stleary/JSON-java/pull/1037/files/0737e04f8a12fc6a1fd26686c03b60374e4ce936
https://github.com/stleary
stlearyhttps://github.com/stleary
d092d09https://github.com/stleary/JSON-java/commit/d092d0903c18d62904b9832ba11f8450157d863c
Jan 30, 2026https://github.com/stleary/JSON-java/pull/1037#event-22408686913
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1037
https://github.com/stleary
stlearyhttps://github.com/stleary
Approved - 3-day window https://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Approved%20-%203-day%20window%22
Jan 30, 2026https://github.com/stleary/JSON-java/pull/1037#event-22408732061
https://github.co/hiddenchars
https://github.com/stleary/JSON-java/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstleary%2FJSON-java%2Fpull%2F1037
https://github.com/stleary
stleary https://github.com/stleary
https://github.com/stleary/JSON-java/pull/1037/files/0737e04f8a12fc6a1fd26686c03b60374e4ce936
ClassCastException in JSONML.toJSONArray due to Unsafe Type Cast https://github.com/stleary/JSON-java/issues/1034
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1037
https://github.com/OwenSanzas
https://github.com/stleary
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.