Title: Define a JSON type · Issue #182 · python/typing · GitHub
Open Graph Title: Define a JSON type · Issue #182 · python/typing
X Title: Define a JSON type · Issue #182 · python/typing
Description: JSON is such a common interchange format it might make sense to define it as a specific type. JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']] Not sure if this should go into typing or be introduces as ...
Open Graph Description: JSON is such a common interchange format it might make sense to define it as a specific type. JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']] Not sure if this sh...
X Description: JSON is such a common interchange format it might make sense to define it as a specific type. JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']] Not...
Opengraph URL: https://github.com/python/typing/issues/182
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Define a JSON type","articleBody":"JSON is such a common interchange format it might make sense to define it as a specific type.\n\n``` python3\nJSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']]\n```\n\nNot sure if this should go into `typing` or be introduces as `json.JSONType` instead (or if it's even worth it considering the variability of the type).\n","author":{"url":"https://github.com/brettcannon","@type":"Person","name":"brettcannon"},"datePublished":"2016-02-19T00:45:22Z","url":"https://github.com/python/typing/issues/182"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5cba9a74-5a8a-00f7-064e-20ba73240a71 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 88CC:1C3DC0:40969C:56E4A5:6B002B35 |
| html-safe-nonce | 8da605139621cc6c1d68626c3b3060d3e270d5b4b17cbb892f844af60ead72e4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OENDOjFDM0RDMDo0MDk2OUM6NTZFNEE1OjZCMDAyQjM1IiwidmlzaXRvcl9pZCI6IjExMzI2MzM0MjUyMjA0Nzk3OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a8de9d27dced686575cdd3e73c55cab10aefa6f297b45c1d28039eeed344450d |
| hovercard-subject-tag | issue:134740599 |
| 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/python/typing/182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0fb278ad385d3a3f6b46eb6b697117d5a90feae5dfdbace824127821bb845e2c/python/typing/issues/182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0fb278ad385d3a3f6b46eb6b697117d5a90feae5dfdbace824127821bb845e2c/python/typing/issues/182 |
| og:image:alt | JSON is such a common interchange format it might make sense to define it as a specific type. JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']] Not sure if this sh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brettcannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typing git https://github.com/python/typing.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 24604008 |
| octolytics-dimension-repository_nwo | python/typing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24604008 |
| octolytics-dimension-repository_network_root_nwo | python/typing |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width