| react-profiling | 0 |
| react-import-map | react,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b5a01d99-cf4d-9155-58b8-3259ea2feeff |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CC58:7AD3E:B5F02:F93B7:6B044D46 |
| html-safe-nonce | de2faa75b02e29e7c42c3cb4fb55437366212cd2abff1fc9061221bd816ee100 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzU4OjdBRDNFOkI1RjAyOkY5M0I3OjZCMDQ0RDQ2IiwidmlzaXRvcl9pZCI6IjQ0NjUyNTE3MjE2MDU4Mjc5MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9df46973ac541f703f970da3efc51308b054ba4c60f86d7d4ee01d22c4cd09ce |
| hovercard-subject-tag | pull_request:3644449244 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/optimizely/java-sdk/624/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/010cea46e24f65379b8b59cfc9dde9cc221957cc6f2615fd3585f4073331a4c1/optimizely/java-sdk/pull/624 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/010cea46e24f65379b8b59cfc9dde9cc221957cc6f2615fd3585f4073331a4c1/optimizely/java-sdk/pull/624 |
| og:image:alt | Summary
Deserialize integers as longs instead of doubles when using Gson. This allows users to use the resultant Map in downstream serializers (e.g. kotlinx.serialization) more easily.
Changes
Add... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FarhanAnjum-opti |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-cache |
| go-import | github.com/optimizely/java-sdk git https://github.com/optimizely/java-sdk.git |
| octolytics-dimension-user_id | 1274132 |
| octolytics-dimension-user_login | optimizely |
| octolytics-dimension-repository_id | 64257587 |
| octolytics-dimension-repository_nwo | optimizely/java-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 64257587 |
| octolytics-dimension-repository_network_root_nwo | optimizely/java-sdk |
| 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 | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/optimizely/java-sdk/pull/624#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foptimizely%2Fjava-sdk%2Fpull%2F624 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foptimizely%2Fjava-sdk%2Fpull%2F624 |
| 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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=optimizely%2Fjava-sdk |
| Reload | https://github.com/optimizely/java-sdk/pull/624 |
| Reload | https://github.com/optimizely/java-sdk/pull/624 |
| Reload | https://github.com/optimizely/java-sdk/pull/624 |
| optimizely | https://github.com/optimizely |
| java-sdk | https://github.com/optimizely/java-sdk |
| Code | https://github.com/optimizely/java-sdk |
| Issues9 (9) | https://github.com/optimizely/java-sdk/issues |
| Pull requests3 (3) | https://github.com/optimizely/java-sdk/pulls |
| Actions | https://github.com/optimizely/java-sdk/actions |
| Projects | https://github.com/optimizely/java-sdk/projects |
| Security and quality | https://github.com/optimizely/java-sdk/security |
| Insights | https://github.com/optimizely/java-sdk/insights |
| https://github.com/optimizely/java-sdk |
| Farhan Anjum (FarhanAnjum-opti) | https://github.com/FarhanAnjum-opti |
| master | https://github.com/optimizely/java-sdk/tree/master |
| jamiesanson/FSSDK-12617-gson-deserialize-integers-as-longs | https://github.com/optimizely/java-sdk/tree/jamiesanson/FSSDK-12617-gson-deserialize-integers-as-longs |
| Conversation | https://github.com/optimizely/java-sdk/pull/624 |
| Commits5 (5) | https://github.com/optimizely/java-sdk/pull/624/commits |
| Checks | https://github.com/optimizely/java-sdk/pull/624/checks |
| Files changed | https://github.com/optimizely/java-sdk/pull/624/files |
| [FSSDK-12617] Deserialize integers as longs when using Gson | https://github.com/optimizely/java-sdk/pull/624#top |
| Farhan Anjum (FarhanAnjum-opti) | https://github.com/FarhanAnjum-opti |
| master | https://github.com/optimizely/java-sdk/tree/master |
| jamiesanson/FSSDK-12617-gson-deserialize-integers-as-longs | https://github.com/optimizely/java-sdk/tree/jamiesanson/FSSDK-12617-gson-deserialize-integers-as-longs |
|
| https://github.com/FarhanAnjum-opti |
| Farhan Anjum (FarhanAnjum-opti) | https://github.com/FarhanAnjum-opti |
| May 7, 2026 | https://github.com/optimizely/java-sdk/pull/624#issue-4400382185 |
| Please reload this page | https://github.com/optimizely/java-sdk/pull/624 |
| FSSDK-12617 | https://optimizely-ext.atlassian.net/browse/FSSDK-12617 |
| [BUG] Gson deserialization treats integers as doubles, breaking downstream serializers #622 | https://github.com/optimizely/java-sdk/issues/622 |
| Deserialize integers as longs when using Gson #623 | https://github.com/optimizely/java-sdk/pull/623 |
| Jamie Sanson (@jamiesanson) | https://github.com/jamiesanson |
| Please reload this page | https://github.com/optimizely/java-sdk/pull/624 |
| Jamie Sanson (jamiesanson) | https://github.com/jamiesanson |
| May 6, 2026 10:07 | https://github.com/optimizely/java-sdk/pull/624#commits-pushed-17372e1 |
|
| https://github.com/jamiesanson |
| Update testFromJson test check integer parsing | https://github.com/optimizely/java-sdk/pull/624/commits/17372e1a422be7bcd117b9c4fe71f47c80f2d3b7 |
| 17372e1 | https://github.com/optimizely/java-sdk/pull/624/commits/17372e1a422be7bcd117b9c4fe71f47c80f2d3b7 |
|
| https://github.com/jamiesanson |
| Apply Gson's LONG_OR_DOUBLE ObjectToNumber policy | https://github.com/optimizely/java-sdk/pull/624/commits/16d38ef69f48a0648e9babfe18897682f7ca9752 |
| 16d38ef | https://github.com/optimizely/java-sdk/pull/624/commits/16d38ef69f48a0648e9babfe18897682f7ca9752 |
|
| https://github.com/jamiesanson |
| Update OptimizelyJSONWithGsonParserTest to demonstrate Long parsing | https://github.com/optimizely/java-sdk/pull/624/commits/8e5ff5e94e5dedd5095894ebf26bc63b48dd374a |
| 8e5ff5e | https://github.com/optimizely/java-sdk/pull/624/commits/8e5ff5e94e5dedd5095894ebf26bc63b48dd374a |
|
| https://github.com/jamiesanson |
| Remove element-wise comparison in tests | https://github.com/optimizely/java-sdk/pull/624/commits/1062edf32d6340f97c277cf60134a5ce1a96d00a |
| 1062edf | https://github.com/optimizely/java-sdk/pull/624/commits/1062edf32d6340f97c277cf60134a5ce1a96d00a |
| https://github.com/optimizely-codereview-bot |
| optimizely-codereview-bot | https://github.com/optimizely-codereview-bot |
| Farhan Anjum (FarhanAnjum-opti) | https://github.com/FarhanAnjum-opti |
| May 7, 2026 | https://github.com/optimizely/java-sdk/pull/624#event-25270564145 |
| https://github.com/muzahidul-opti |
| Muzahidul Islam (muzahidul-opti) | https://github.com/muzahidul-opti |
|
May 7, 2026
| https://github.com/optimizely/java-sdk/pull/624#pullrequestreview-4246069883 |
|
View reviewed changes
| https://github.com/optimizely/java-sdk/pull/624/files/1062edf32d6340f97c277cf60134a5ce1a96d00a |
| Muzahidul Islam (muzahidul-opti) | https://github.com/muzahidul-opti |
| https://github.com/optimizely/java-sdk/pull/624#pullrequestreview-4246069883 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/optimizely/java-sdk/pull/624 |
| https://github.com/muzahidul-opti |
| Muzahidul Islam (muzahidul-opti) | https://github.com/muzahidul-opti |
|
May 7, 2026
| https://github.com/optimizely/java-sdk/pull/624#pullrequestreview-4246080063 |
|
View reviewed changes
| https://github.com/optimizely/java-sdk/pull/624/files/1062edf32d6340f97c277cf60134a5ce1a96d00a |
|
| https://github.com/FarhanAnjum-opti |
| Add nested integer test coverage in testFromJson | https://github.com/optimizely/java-sdk/pull/624/commits/087b4c869c3712f8a38ceceebb4ef9f04157738e |
| 087b4c8 | https://github.com/optimizely/java-sdk/pull/624/commits/087b4c869c3712f8a38ceceebb4ef9f04157738e |
| https://github.com/FarhanAnjum-opti |
| Farhan Anjum (FarhanAnjum-opti) | https://github.com/FarhanAnjum-opti |
|
breaking change
| https://github.com/optimizely/java-sdk/issues?q=state%3Aopen%20label%3A%22breaking%20change%22 |
| May 11, 2026 | https://github.com/optimizely/java-sdk/pull/624#event-25392263362 |
| https://github.com/FarhanAnjum-opti |
| Farhan Anjum (FarhanAnjum-opti) | https://github.com/FarhanAnjum-opti |
| May 11, 2026 | https://github.com/optimizely/java-sdk/pull/624#issuecomment-4422871943 |
| Please reload this page | https://github.com/optimizely/java-sdk/pull/624 |
| https://github.co/hiddenchars |
| https://github.com/optimizely/java-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foptimizely%2Fjava-sdk%2Fpull%2F624 |
|
| https://github.com/muzahidul-opti |
|
Muzahidul Islam (muzahidul-opti)
| https://github.com/muzahidul-opti |
|
| https://github.com/optimizely/java-sdk/pull/624/files/1062edf32d6340f97c277cf60134a5ce1a96d00a |
| Please reload this page | https://github.com/optimizely/java-sdk/pull/624 |
|
| https://github.com/FarhanAnjum-opti |
|
Farhan Anjum (FarhanAnjum-opti)
| https://github.com/FarhanAnjum-opti |
|
breaking change
| https://github.com/optimizely/java-sdk/issues?q=state%3Aopen%20label%3A%22breaking%20change%22 |
| Please reload this page | https://github.com/optimizely/java-sdk/pull/624 |
|
| https://github.com/FarhanAnjum-opti |
|
| https://github.com/muzahidul-opti |
|
| https://github.com/jamiesanson |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |