René's URL Explorer Experiment


Title: [RFC] Implement custom iterator for JSONArray to ensure fetched values are JSON compliant · Issue #673 · stleary/JSON-java · GitHub

Open Graph Title: [RFC] Implement custom iterator for JSONArray to ensure fetched values are JSON compliant · Issue #673 · stleary/JSON-java

X Title: [RFC] Implement custom iterator for JSONArray to ensure fetched values are JSON compliant · Issue #673 · stleary/JSON-java

Description: This has been a "known" issue for some time, but as mentioned in #672, the JSONArray.iterator method is exposing the raw values from the backing array instead of JSON-compliant values. We should do 1 of 2 things: Implement a private/inte...

Open Graph Description: This has been a "known" issue for some time, but as mentioned in #672, the JSONArray.iterator method is exposing the raw values from the backing array instead of JSON-compliant values. We should do...

X Description: This has been a "known" issue for some time, but as mentioned in #672, the JSONArray.iterator method is exposing the raw values from the backing array instead of JSON-compliant values. We...

Opengraph URL: https://github.com/stleary/JSON-java/issues/673

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[RFC] Implement custom iterator for JSONArray to ensure fetched values are JSON compliant","articleBody":"This has been a \"known\" issue for some time, but as mentioned in #672, the `JSONArray.iterator` method is exposing the raw values from the backing array instead of JSON-compliant values.\r\n\r\nWe should do 1 of 2 things:\r\n\r\n1. Implement a private/internal `JSONArrayIterator` class that would ensure any fetched values are properly \"wrapped\" and thus suitable output to JSON processors.\r\n2. Update all of our `put*` operations to ensure that all values are properly \"wrapped\" in both `JSONObject` and `JSONArray`. This would also allow us to simplify our `toString` methods and remove the wrapping from there as all values should be proper JSON.\r\n\r\nOption 1 keeps the wrapping \"lazy\" and thus would only guarantee JSON compliance on values that are fetched. Fetching a non-wrapped value multiple times would cause wrapping to happen each time.\r\n\r\nOption 2 makes the wrapping more proactive; guaranteeing that our JSON compliance happens up-front even if the value is not fetched later. Fetching an initially non-wrapped value multiple times would cause NO wrapping to happen at fetch as it would have been pre-wrapped by the `put` operation.\r\n\r\nBoth options only affect code-built JSONObjects/Arrays. Parsed objects would be unaffected as the parser is only placing JSON-compliant values in the backing collections.\r\n\r\nThoughts on whether we should implement either option, something else, or neither?","author":{"url":"https://github.com/johnjaylward","@type":"Person","name":"johnjaylward"},"datePublished":"2022-03-21T16:17:17Z","url":"https://github.com/stleary/JSON-java/issues/673"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:30eaaa3b-ac28-9d94-ceb0-1b2b45cb63e1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8432:255994:20E667:2B8178:6AFD1321
html-safe-nonce83f7b397ee2bc57e4da01afeef88cf270e8564c61115fa3105ee54c2174a118f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDMyOjI1NTk5NDoyMEU2Njc6MkI4MTc4OjZBRkQxMzIxIiwidmlzaXRvcl9pZCI6IjE4OTYwMzg5NTEyNzM5NjAyMjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9cf2442d21373f77fe3d66f57d72a063549b972e4dfd8a54f5cb04fab49a3ad8
hovercard-subject-tagissue:1175621270
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stleary/JSON-java/673/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2ad29bb5b2d8dce852e3723c78d69ba598d5fc2db76db09fb3a2c0ad87530fa0/stleary/JSON-java/issues/673
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2ad29bb5b2d8dce852e3723c78d69ba598d5fc2db76db09fb3a2c0ad87530fa0/stleary/JSON-java/issues/673
og:image:altThis has been a "known" issue for some time, but as mentioned in #672, the JSONArray.iterator method is exposing the raw values from the backing array instead of JSON-compliant values. We should do...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohnjaylward
hostnamegithub.com
expected-hostnamegithub.com
None7c34e25df4e46e972c8f0225e63410231bdeb9ea5634597c712796bbcdb2e627
turbo-cache-controlno-preview
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
release8fa571ebaa95e4e6bf872197c0e84b7dc48e6785
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/stleary/JSON-java/issues/673#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstleary%2FJSON-java%2Fissues%2F673
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstleary%2FJSON-java%2Fissues%2F673
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=stleary%2FJSON-java
Reloadhttps://github.com/stleary/JSON-java/issues/673
Reloadhttps://github.com/stleary/JSON-java/issues/673
Reloadhttps://github.com/stleary/JSON-java/issues/673
stlearyhttps://github.com/stleary
JSON-javahttps://github.com/stleary/JSON-java
Codehttps://github.com/stleary/JSON-java
Issues19 (19)https://github.com/stleary/JSON-java/issues
Pull requestshttps://github.com/stleary/JSON-java/pulls
Actionshttps://github.com/stleary/JSON-java/actions
Projectshttps://github.com/stleary/JSON-java/projects
Wikihttps://github.com/stleary/JSON-java/wiki
Security and quality1 (1)https://github.com/stleary/JSON-java/security
Insightshttps://github.com/stleary/JSON-java/pulse
https://github.com/stleary/JSON-java
New issuehttps://github.com/login?return_to=https://github.com/stleary/JSON-java/issues/673
New issuehttps://github.com/login?return_to=https://github.com/stleary/JSON-java/issues/673
[RFC] Implement custom iterator for JSONArray to ensure fetched values are JSON complianthttps://github.com/stleary/JSON-java/issues/673#top
Active discussionhttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Active%20discussion%22
Fix before the next releasehttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Fix%20before%20the%20next%20release%22
https://github.com/johnjaylward
johnjaylwardhttps://github.com/johnjaylward
on Mar 21, 2022https://github.com/stleary/JSON-java/issues/673#issue-1175621270
#672https://github.com/stleary/JSON-java/issues/672
https://github.com/stleary
stlearyhttps://github.com/stleary
on Mar 22, 2022https://github.com/stleary/JSON-java/issues/673#issuecomment-1074640672
stlearyhttps://github.com/stleary
Active discussionhttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Active%20discussion%22
on Mar 22, 2022https://github.com/stleary/JSON-java/issues/673#event-6280132009
https://github.com/johnjaylward
johnjaylwardhttps://github.com/johnjaylward
on Mar 22, 2022https://github.com/stleary/JSON-java/issues/673#issuecomment-1074661702
stlearyhttps://github.com/stleary
Hacktoberfesthttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Hacktoberfest%22
on Sep 13, 2022https://github.com/stleary/JSON-java/issues/673#event-7377223736
stlearyhttps://github.com/stleary
Hacktoberfesthttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Hacktoberfest%22
on Nov 18, 2022https://github.com/stleary/JSON-java/issues/673#event-7839289335
https://github.com/stleary
stlearyhttps://github.com/stleary
on Sep 30, 2023https://github.com/stleary/JSON-java/issues/673#issuecomment-1741670805
@johnjaylwardhttps://github.com/johnjaylward
stlearyhttps://github.com/stleary
Fix before the next releasehttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Fix%20before%20the%20next%20release%22
on Jan 20, 2025https://github.com/stleary/JSON-java/issues/673#event-16003227554
Sign up for freehttps://github.com/signup?return_to=https://github.com/stleary/JSON-java/issues/673
Sign in to commenthttps://github.com/login?return_to=https://github.com/stleary/JSON-java/issues/673
Active discussionhttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Active%20discussion%22
Fix before the next releasehttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Fix%20before%20the%20next%20release%22
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.