René's URL Explorer Experiment


Title: Structure validation: duplicate key · Issue #37 · simdjson/simdjson-java · GitHub

Open Graph Title: Structure validation: duplicate key · Issue #37 · simdjson/simdjson-java

X Title: Structure validation: duplicate key · Issue #37 · simdjson/simdjson-java

Description: If there are duplicate keys in the JSON, the current JSON parser will take the value corresponding to the first occurrence of the key: inputString: public class SimdJsonTest { static final SimdJsonParser SIMD_PARSER = new SimdJsonParser(...

Open Graph Description: If there are duplicate keys in the JSON, the current JSON parser will take the value corresponding to the first occurrence of the key: inputString: public class SimdJsonTest { static final SimdJson...

X Description: If there are duplicate keys in the JSON, the current JSON parser will take the value corresponding to the first occurrence of the key: inputString: public class SimdJsonTest { static final SimdJson...

Opengraph URL: https://github.com/simdjson/simdjson-java/issues/37

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Structure validation: duplicate key","articleBody":"If there are duplicate keys in the JSON, the current JSON parser will take the value corresponding to the first occurrence of the key:\r\n\r\ninputString:\r\n```\r\npublic class SimdJsonTest {\r\n\r\n    static final SimdJsonParser SIMD_PARSER = new SimdJsonParser();\r\n    static final ObjectMapper JACKSON = new ObjectMapper();\r\n    static final Gson GSON = new GsonBuilder().create();\r\n\r\n    public static void main(String[] args) throws IOException {\r\n\r\n        String json = \"{\\\"num\\\": 2, \\\"num\\\": 123}\";\r\n        byte[] bytes = json.getBytes();\r\n        JsonValue value = SIMD_PARSER.parse(bytes, bytes.length);\r\n\r\n        System.err.println(\"[simd].size = \" + value.getSize());   // 2\r\n        System.err.println(\"[simd].num = \" + value.get(\"num\"));  // 2\r\n\r\n        Map jcsObj = JACKSON.readValue(bytes, Map.class);\r\n        System.err.println(\"[jackson].size = \" + jcsObj.size());   // 1\r\n        System.err.println(\"[jackson].num = \" + jcsObj.get(\"num\"));   // 123\r\n\r\n        // will throw exception: com.google.gson.JsonSyntaxException: duplicate key: num\r\n        Map gsonObj = GSON.fromJson(new String(bytes), Map.class);\r\n        System.err.println(\"[gson].size = \" + gsonObj.size());\r\n        System.err.println(\"[gson].num = \" + gsonObj.get(\"num\"));\r\n    }\r\n}\r\n```\r\n\r\nThe content of the console output:\r\n\r\n\u003e [simd].size = 2\r\n\u003e [simd].num = 2\r\n\u003e [jackson].size = 1\r\n\u003e [jackson].num = 123\r\n\u003e Exception in thread \"main\" com.google.gson.JsonSyntaxException: duplicate key: num\r\n\u003e ...\r\n","author":{"url":"https://github.com/GeTOUO","@type":"Person","name":"GeTOUO"},"datePublished":"2024-01-08T02:43:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/37/simdjson-java/issues/37"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b5b64d88-2477-8d68-99e1-d4319dc2a6ff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAE64:26464B:3D31C8:55183F:6993013C
html-safe-nonce50ad27b1871e9b01885c62d15c56caabefa1027fee431c0cd8fafd5899e86c88
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTY0OjI2NDY0QjozRDMxQzg6NTUxODNGOjY5OTMwMTNDIiwidmlzaXRvcl9pZCI6IjQwMzIxMzY2MjgwNjM2MzM3MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac74be408cf8f21fee7ee1354ac5bbf25b82ce0d5f14c859499e69b9645b65375b
hovercard-subject-tagissue:2069503096
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/simdjson/simdjson-java/37/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9d58f81bd29f531fdbb5e57a054df40fde91d7443e72ed33dac56b0e3433bc1d/simdjson/simdjson-java/issues/37
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9d58f81bd29f531fdbb5e57a054df40fde91d7443e72ed33dac56b0e3433bc1d/simdjson/simdjson-java/issues/37
og:image:altIf there are duplicate keys in the JSON, the current JSON parser will take the value corresponding to the first occurrence of the key: inputString: public class SimdJsonTest { static final SimdJson...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGeTOUO
hostnamegithub.com
expected-hostnamegithub.com
None1bae9c7d08ea14e1ee9576041777790e900aa7d28044a68c6b15fb7dc65e3f07
turbo-cache-controlno-preview
go-importgithub.com/simdjson/simdjson-java git https://github.com/simdjson/simdjson-java.git
octolytics-dimension-user_id62337925
octolytics-dimension-user_loginsimdjson
octolytics-dimension-repository_id664918257
octolytics-dimension-repository_nwosimdjson/simdjson-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id664918257
octolytics-dimension-repository_network_root_nwosimdjson/simdjson-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
release798a84aab1a6de4380a21ddb59c23208a5b05d45
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simdjson/simdjson-java/issues/37#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimdjson%2Fsimdjson-java%2Fissues%2F37
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fsimdjson%2Fsimdjson-java%2Fissues%2F37
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=simdjson%2Fsimdjson-java
Reloadhttps://github.com/simdjson/simdjson-java/issues/37
Reloadhttps://github.com/simdjson/simdjson-java/issues/37
Reloadhttps://github.com/simdjson/simdjson-java/issues/37
simdjson https://github.com/simdjson
simdjson-javahttps://github.com/simdjson/simdjson-java
Notifications https://github.com/login?return_to=%2Fsimdjson%2Fsimdjson-java
Fork 34 https://github.com/login?return_to=%2Fsimdjson%2Fsimdjson-java
Star 408 https://github.com/login?return_to=%2Fsimdjson%2Fsimdjson-java
Code https://github.com/simdjson/simdjson-java
Issues 18 https://github.com/simdjson/simdjson-java/issues
Pull requests 7 https://github.com/simdjson/simdjson-java/pulls
Discussions https://github.com/simdjson/simdjson-java/discussions
Actions https://github.com/simdjson/simdjson-java/actions
Projects 0 https://github.com/simdjson/simdjson-java/projects
Security 0 https://github.com/simdjson/simdjson-java/security
Insights https://github.com/simdjson/simdjson-java/pulse
Code https://github.com/simdjson/simdjson-java
Issues https://github.com/simdjson/simdjson-java/issues
Pull requests https://github.com/simdjson/simdjson-java/pulls
Discussions https://github.com/simdjson/simdjson-java/discussions
Actions https://github.com/simdjson/simdjson-java/actions
Projects https://github.com/simdjson/simdjson-java/projects
Security https://github.com/simdjson/simdjson-java/security
Insights https://github.com/simdjson/simdjson-java/pulse
New issuehttps://github.com/login?return_to=https://github.com/simdjson/simdjson-java/issues/37
New issuehttps://github.com/login?return_to=https://github.com/simdjson/simdjson-java/issues/37
Structure validation: duplicate keyhttps://github.com/simdjson/simdjson-java/issues/37#top
https://github.com/GeTOUO
https://github.com/GeTOUO
GeTOUOhttps://github.com/GeTOUO
on Jan 8, 2024https://github.com/simdjson/simdjson-java/issues/37#issue-2069503096
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.