Title: Better Deserialization of Extension Types with Jackson · Issue #398 · msgpack/msgpack-java · GitHub
Open Graph Title: Better Deserialization of Extension Types with Jackson · Issue #398 · msgpack/msgpack-java
X Title: Better Deserialization of Extension Types with Jackson · Issue #398 · msgpack/msgpack-java
Description: If you do a readTree that contains an extension type, the resulting tree will look something like (for example) [1, 2, [MessagePackExtensionType, MessagePackExtensionType']. In order to make this tree usable you need to traverse the whol...
Open Graph Description: If you do a readTree that contains an extension type, the resulting tree will look something like (for example) [1, 2, [MessagePackExtensionType, MessagePackExtensionType']. In order to make this t...
X Description: If you do a readTree that contains an extension type, the resulting tree will look something like (for example) [1, 2, [MessagePackExtensionType, MessagePackExtensionType']. In order to make th...
Opengraph URL: https://github.com/msgpack/msgpack-java/issues/398
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Better Deserialization of Extension Types with Jackson","articleBody":"If you do a `readTree` that contains an extension type, the resulting tree will look something like (for example) `[1, 2, [MessagePackExtensionType, MessagePackExtensionType']`. In order to make this tree usable you need to traverse the whole tree converting any `MessagePackExtensionType` object to the real object type. It would be much better if reading the tree instead resulted in `[1, 2, [RealClass, RealClass]]`.\n\nIdeally I would like to be able to do something along the lines of\n\n```\nfactory = new MessagePackFactory\nfactory.register(typeId, class, encoder, decoder)\n```\n\nand have MessagePackParser check if a type is registered to return the correct object.\n","author":{"url":"https://github.com/fuyumatsuri","@type":"Person","name":"fuyumatsuri"},"datePublished":"2016-10-22T07:50:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/398/msgpack-java/issues/398"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f6950e18-4314-8786-8a70-0fe587dde109 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9544:2AAA21:49724D:6638A6:6A551D55 |
| html-safe-nonce | c5a18da604b2b462b3a19b9ad05b385888a45047ca229422023f0a0fb2e4178a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTQ0OjJBQUEyMTo0OTcyNEQ6NjYzOEE2OjZBNTUxRDU1IiwidmlzaXRvcl9pZCI6IjUxMTIzOTEzNzkxMzg3MTQ5NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2336d72962ed76578d37704592d83e87381f3db4faaebac6ed0e2f15f3b598b1 |
| hovercard-subject-tag | issue:184616337 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/msgpack/msgpack-java/398/issue_layout |
| twitter:image | https://opengraph.githubassets.com/734a1469d1489d0d5324939c56050125b4f5555953c846be464c67b70cca3263/msgpack/msgpack-java/issues/398 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/734a1469d1489d0d5324939c56050125b4f5555953c846be464c67b70cca3263/msgpack/msgpack-java/issues/398 |
| og:image:alt | If you do a readTree that contains an extension type, the resulting tree will look something like (for example) [1, 2, [MessagePackExtensionType, MessagePackExtensionType']. In order to make this t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fuyumatsuri |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/msgpack/msgpack-java git https://github.com/msgpack/msgpack-java.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 1971346 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1971346 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 358dd24ad7465d20e3fae729b5b169d35b0dd7f8 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width