Title: AbstractJackson2HttpMessageConverter - Check for encoding breaks JSON to POJO de-serialization experience · Issue #25247 · spring-projects/spring-framework · GitHub
Open Graph Title: AbstractJackson2HttpMessageConverter - Check for encoding breaks JSON to POJO de-serialization experience · Issue #25247 · spring-projects/spring-framework
X Title: AbstractJackson2HttpMessageConverter - Check for encoding breaks JSON to POJO de-serialization experience · Issue #25247 · spring-projects/spring-framework
Description: Affects: 5.2.7 (Spring Boot 2.3.1) Due to a fix in Issue #25076 the AbstractJackson2HttpMessageConverter also blocks the out-of-the-box JSON to POJO de-serialization for responses with an encoding/character set not being unicode. In our ...
Open Graph Description: Affects: 5.2.7 (Spring Boot 2.3.1) Due to a fix in Issue #25076 the AbstractJackson2HttpMessageConverter also blocks the out-of-the-box JSON to POJO de-serialization for responses with an encoding/...
X Description: Affects: 5.2.7 (Spring Boot 2.3.1) Due to a fix in Issue #25076 the AbstractJackson2HttpMessageConverter also blocks the out-of-the-box JSON to POJO de-serialization for responses with an encoding/...
Opengraph URL: https://github.com/spring-projects/spring-framework/issues/25247
X: @github
Domain: togithub.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AbstractJackson2HttpMessageConverter - Check for encoding breaks JSON to POJO de-serialization experience","articleBody":"**Affects:** 5.2.7 (Spring Boot 2.3.1)\r\n---\r\nDue to a fix in [Issue #25076](https://github.com/spring-projects/spring-framework/issues/25076)\r\nthe AbstractJackson2HttpMessageConverter also blocks the out-of-the-box JSON to POJO de-serialization for responses with an encoding/character set not being unicode.\r\n\r\nIn our case a GET request to `https://appleid.apple.com/auth/keys` responses with a \r\n`Content-Type: application/json;charset=ISO-8859-1`, which results now in\r\n`org.springframework.web.client.UnknownContentTypeException: Could not extract response: no suitable HttpMessageConverter found for response type [class x.y.z.AppleKeyRequest] and content type [application/json;charset=ISO-8859-1]`.\r\n\r\nIt would be nice to have an option to include non compliant JSON encodings for the given default converters or to have the encoding check as opt-in to be on par with previous default behavior.","author":{"url":"https://github.com/kruegsch","@type":"Person","name":"kruegsch"},"datePublished":"2020-06-12T12:50:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/25247/spring-framework/issues/25247"}
| 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:84f6d711-3ba6-f092-70a1-8fbf32943f70 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8E4:C401D:25F0F35:32789B9:6992EAFE |
| html-safe-nonce | e477918285f67da38e0626901b89b81916591b080eb581464dbc9585d3d6a8a7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEU0OkM0MDFEOjI1RjBGMzU6MzI3ODlCOTo2OTkyRUFGRSIsInZpc2l0b3JfaWQiOiI3MTE2MzQ3ODA3MTg4MDUyNzM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ad348f0dcd3e37013b4bafcde594f36476fa87fe34eac6666d81f4d9dc774c1a |
| hovercard-subject-tag | issue:637727815 |
| 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/spring-projects/spring-framework/25247/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d8d52b5230ceaa8f02dd4d5e6bc4ceb4b734ea702d312fd11e1c2b100a52283/spring-projects/spring-framework/issues/25247 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d8d52b5230ceaa8f02dd4d5e6bc4ceb4b734ea702d312fd11e1c2b100a52283/spring-projects/spring-framework/issues/25247 |
| og:image:alt | Affects: 5.2.7 (Spring Boot 2.3.1) Due to a fix in Issue #25076 the AbstractJackson2HttpMessageConverter also blocks the out-of-the-box JSON to POJO de-serialization for responses with an encoding/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kruegsch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01ab16879a3159e6f0717ab948b9b562e162a6aafd1f4393b786b07b747df244 |
| turbo-cache-control | no-preview |
| go-import | github.com/spring-projects/spring-framework git https://github.com/spring-projects/spring-framework.git |
| octolytics-dimension-user_id | 317776 |
| octolytics-dimension-user_login | spring-projects |
| octolytics-dimension-repository_id | 1148753 |
| octolytics-dimension-repository_nwo | spring-projects/spring-framework |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1148753 |
| octolytics-dimension-repository_network_root_nwo | spring-projects/spring-framework |
| 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 | b1570f3928bef80fa5fc7890ce0942e9b696ad9d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width