Title: Feature.Id only supports String type · Issue #35 · GeoJSON-Net/GeoJSON.Text · GitHub
Open Graph Title: Feature.Id only supports String type · Issue #35 · GeoJSON-Net/GeoJSON.Text
X Title: Feature.Id only supports String type · Issue #35 · GeoJSON-Net/GeoJSON.Text
Description: Hello! According to https://datatracker.ietf.org/doc/html/rfc7946#section-3.2, the Id field of the Feature, if present, can be either number or string: If a Feature has a commonly used identifier, that identifier SHOULD be included as a ...
Open Graph Description: Hello! According to https://datatracker.ietf.org/doc/html/rfc7946#section-3.2, the Id field of the Feature, if present, can be either number or string: If a Feature has a commonly used identifier, ...
X Description: Hello! According to https://datatracker.ietf.org/doc/html/rfc7946#section-3.2, the Id field of the Feature, if present, can be either number or string: If a Feature has a commonly used identifier, ...
Opengraph URL: https://github.com/GeoJSON-Net/GeoJSON.Text/issues/35
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature.Id only supports String type","articleBody":"Hello!\n\nAccording to https://datatracker.ietf.org/doc/html/rfc7946#section-3.2, the `Id` field of the `Feature`, if present, can be either number or string:\n\u003e If a Feature has a commonly used identifier, that identifier\n\u003e SHOULD be included as a member of the Feature object with the name\n\u003e \"id\", and the value of this member is either a JSON string or\n\u003e number.\n\nHowever, current implementation only supports deserialization of string values for this field.\nProposed solutions:\n* A custom JSON converter for this field, with storing the value as a `string`.\n* Storing the value as a discriminated union of `string` and `int` (or `long`).\n\nBest regards,\nDmitry","author":{"url":"https://github.com/dmitry-kandiner","@type":"Person","name":"dmitry-kandiner"},"datePublished":"2025-08-06T12:57:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/35/GeoJSON.Text/issues/35"}
| 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:3cc34720-964a-2861-ce23-1d29c62b0d62 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5EE:2E8D97:5BA0A41:77396CC:697E197E |
| html-safe-nonce | fef6eff5ebd784f15959cc353beacd64c915b301ba306211add6558d7b848ab0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUVFOjJFOEQ5Nzo1QkEwQTQxOjc3Mzk2Q0M6Njk3RTE5N0UiLCJ2aXNpdG9yX2lkIjoiNjkwOTMwNTU0NTcyMzYxNTYxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 700730a10c676a596c8ee82a63a3943bed4a27df5edc0c3c5fb97e542ec2f18c |
| hovercard-subject-tag | issue:3296613468 |
| 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/GeoJSON-Net/GeoJSON.Text/35/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df49bab627cec3f99f99ad2bfa5b167b746159e643e8f4a0b69ad9ba72afc21a/GeoJSON-Net/GeoJSON.Text/issues/35 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df49bab627cec3f99f99ad2bfa5b167b746159e643e8f4a0b69ad9ba72afc21a/GeoJSON-Net/GeoJSON.Text/issues/35 |
| og:image:alt | Hello! According to https://datatracker.ietf.org/doc/html/rfc7946#section-3.2, the Id field of the Feature, if present, can be either number or string: If a Feature has a commonly used identifier, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dmitry-kandiner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/GeoJSON-Net/GeoJSON.Text git https://github.com/GeoJSON-Net/GeoJSON.Text.git |
| octolytics-dimension-user_id | 11492205 |
| octolytics-dimension-user_login | GeoJSON-Net |
| octolytics-dimension-repository_id | 438737712 |
| octolytics-dimension-repository_nwo | GeoJSON-Net/GeoJSON.Text |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438737712 |
| octolytics-dimension-repository_network_root_nwo | GeoJSON-Net/GeoJSON.Text |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width