René's URL Explorer Experiment


Title: jackson-dataformat-msgpack can't handle numbers as String type · Issue #421 · msgpack/msgpack-java · GitHub

Open Graph Title: jackson-dataformat-msgpack can't handle numbers as String type · Issue #421 · msgpack/msgpack-java

X Title: jackson-dataformat-msgpack can't handle numbers as String type · Issue #421 · msgpack/msgpack-java

Description: I found this code fails while it works with replacing new ObjectMapper(new MessagePackFactory()) with new ObjectMapper(). public static class MyIntegerSerializer extends JsonSerializer { @Override public void serialize(Integer v...

Open Graph Description: I found this code fails while it works with replacing new ObjectMapper(new MessagePackFactory()) with new ObjectMapper(). public static class MyIntegerSerializer extends JsonSerializer { @...

X Description: I found this code fails while it works with replacing new ObjectMapper(new MessagePackFactory()) with new ObjectMapper(). public static class MyIntegerSerializer extends JsonSerializer<Integer&g...

Opengraph URL: https://github.com/msgpack/msgpack-java/issues/421

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"jackson-dataformat-msgpack can't handle numbers as String type","articleBody":"I found this code fails while it works with replacing `new ObjectMapper(new MessagePackFactory())` with `new ObjectMapper()`.\r\n\r\n```\r\n    public static class MyIntegerSerializer\r\n        extends JsonSerializer\u003cInteger\u003e\r\n    {\r\n        @Override\r\n        public void serialize(Integer value, JsonGenerator gen, SerializerProvider serializers)\r\n                throws IOException, JsonProcessingException\r\n        {\r\n            gen.writeNumber(String.valueOf(value));\r\n        }\r\n    }\r\n\r\n    public static class MyIntegerDeserializer\r\n            extends JsonDeserializer\u003cInteger\u003e\r\n    {\r\n        @Override\r\n        public Integer deserialize(JsonParser p, DeserializationContext ctxt)\r\n                throws IOException, JsonProcessingException\r\n        {\r\n            return p.getNumberValue().intValue();\r\n        }\r\n    }\r\n\r\n    public static void main(String[] args)\r\n            throws IOException\r\n    {\r\n        ObjectMapper objectMapper = new ObjectMapper(new MessagePackFactory());\r\n        objectMapper.registerModule(\r\n                new SimpleModule()\r\n                        .addSerializer(Integer.class, new MyIntegerSerializer())\r\n                        .addDeserializer(Integer.class, new MyIntegerDeserializer())\r\n        );\r\n        ByteArrayOutputStream out = new ByteArrayOutputStream();\r\n        objectMapper.writeValue(out, 42);\r\n\r\n        Integer integer = objectMapper.readValue(out.toByteArray(), Integer.class);\r\n        System.out.println(integer);\r\n    }\r\n\r\n\u003e\u003e\u003e\u003e com.fasterxml.jackson.databind.JsonMappingException: writeNumber(String encodedValue) isn't supported yet\r\n```","author":{"url":"https://github.com/komamitsu","@type":"Person","name":"komamitsu"},"datePublished":"2017-05-11T06:33:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/421/msgpack-java/issues/421"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e2fbf4fc-d001-b475-8b2e-d2d0dcbb2aca
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCCBE:2624ED:154A6D7:1EC82A7:6A54C83B
html-safe-nonce6a8a38d86e0d21ac487cca85776964ad93bfbe4dad6337b3505436f59290810c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0JFOjI2MjRFRDoxNTRBNkQ3OjFFQzgyQTc6NkE1NEM4M0IiLCJ2aXNpdG9yX2lkIjoiNzU2NjgzMzM3NjI1NjM3ODkzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7c5f2fa2bb449cd16dcdb7c5e455e6aae64917f736b471397f57a5b2a5e1c519
hovercard-subject-tagissue:227891250
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/msgpack/msgpack-java/421/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7f8104c522707858515ab5870dc26f667e19a44bfa36c2d4d4baee6dec3ea151/msgpack/msgpack-java/issues/421
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7f8104c522707858515ab5870dc26f667e19a44bfa36c2d4d4baee6dec3ea151/msgpack/msgpack-java/issues/421
og:image:altI found this code fails while it works with replacing new ObjectMapper(new MessagePackFactory()) with new ObjectMapper(). public static class MyIntegerSerializer extends JsonSerializer { @...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekomamitsu
hostnamegithub.com
expected-hostnamegithub.com
None6e5f2e6ff3f430aa60a674066f957bca9f2106017e1b68126417422b58ce6e1e
turbo-cache-controlno-preview
go-importgithub.com/msgpack/msgpack-java git https://github.com/msgpack/msgpack-java.git
octolytics-dimension-user_id198264
octolytics-dimension-user_loginmsgpack
octolytics-dimension-repository_id1971346
octolytics-dimension-repository_nwomsgpack/msgpack-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1971346
octolytics-dimension-repository_network_root_nwomsgpack/msgpack-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
releasebe4d48619391052c9d312c7b587bb2ac38a97f57
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgpack/msgpack-java/issues/421#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-java%2Fissues%2F421
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%2Fmsgpack%2Fmsgpack-java%2Fissues%2F421
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=msgpack%2Fmsgpack-java
Reloadhttps://github.com/msgpack/msgpack-java/issues/421
Reloadhttps://github.com/msgpack/msgpack-java/issues/421
Reloadhttps://github.com/msgpack/msgpack-java/issues/421
Please reload this pagehttps://github.com/msgpack/msgpack-java/issues/421
msgpack https://github.com/msgpack
msgpack-javahttps://github.com/msgpack/msgpack-java
Notifications https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-java
Fork 323 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-java
Star 1.5k https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-java
Code https://github.com/msgpack/msgpack-java
Issues 60 https://github.com/msgpack/msgpack-java/issues
Pull requests 5 https://github.com/msgpack/msgpack-java/pulls
Actions https://github.com/msgpack/msgpack-java/actions
Projects https://github.com/msgpack/msgpack-java/projects
Wiki https://github.com/msgpack/msgpack-java/wiki
Security and quality 1 https://github.com/msgpack/msgpack-java/security
Insights https://github.com/msgpack/msgpack-java/pulse
Code https://github.com/msgpack/msgpack-java
Issues https://github.com/msgpack/msgpack-java/issues
Pull requests https://github.com/msgpack/msgpack-java/pulls
Actions https://github.com/msgpack/msgpack-java/actions
Projects https://github.com/msgpack/msgpack-java/projects
Wiki https://github.com/msgpack/msgpack-java/wiki
Security and quality https://github.com/msgpack/msgpack-java/security
Insights https://github.com/msgpack/msgpack-java/pulse
jackson-dataformat-msgpack can't handle numbers as String typehttps://github.com/msgpack/msgpack-java/issues/421#top
https://github.com/komamitsu
komamitsuhttps://github.com/komamitsu
on May 11, 2017https://github.com/msgpack/msgpack-java/issues/421#issue-227891250
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.