Title: Allow JSON serializer to be overridden · Issue #78 · markfinger/python-react · GitHub
Open Graph Title: Allow JSON serializer to be overridden · Issue #78 · markfinger/python-react
X Title: Allow JSON serializer to be overridden · Issue #78 · markfinger/python-react
Description: It's probably worth allowing custom json serializers to be easily added. The change should be pretty simple, see python-react/react/render_server.py Line 27 in 1bad117 serialized_props = json.dumps(props, cls=JSONEncoder) Basically, Rend...
Open Graph Description: It's probably worth allowing custom json serializers to be easily added. The change should be pretty simple, see python-react/react/render_server.py Line 27 in 1bad117 serialized_props = json.dumps...
X Description: It's probably worth allowing custom json serializers to be easily added. The change should be pretty simple, see python-react/react/render_server.py Line 27 in 1bad117 serialized_props = json.d...
Opengraph URL: https://github.com/markfinger/python-react/issues/78
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow JSON serializer to be overridden","articleBody":"It's probably worth allowing custom json serializers to be easily added.\r\n\r\nThe change should be pretty simple, see\r\n\r\nhttps://github.com/markfinger/python-react/blob/1bad117ab36ced678b3c99b876b5e3eb7baa0750/react/render_server.py#L27\r\n\r\nBasically, RenderServer.render should accept a `json_encoder` kwarg, that defaults to the current one. \r\n\r\nIt's also probably worth explicitly exposing the default encoder as a `RenderServerEncoder` subclass, to make subclassing easier for downstream users.","author":{"url":"https://github.com/markfinger","@type":"Person","name":"markfinger"},"datePublished":"2017-07-06T00:31:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/78/python-react/issues/78"}
| 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:ea513c6c-3a99-cb89-2f30-483ed9b10bee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8108:32DC25:22D0FA:32236A:697A12B7 |
| html-safe-nonce | 9202892b637d4d5694007569ac4a5a6164bc6ae59e5dcbbcdb4d1ea99c67738f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTA4OjMyREMyNToyMkQwRkE6MzIyMzZBOjY5N0ExMkI3IiwidmlzaXRvcl9pZCI6IjQ2MjY1ODMwNzk5MDM0MzMzOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 38e741d9cd63a510359150263f16a60d94d4f5c0c334d7737de00b74f9ca6b1c |
| hovercard-subject-tag | issue:240812345 |
| 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/markfinger/python-react/78/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b6f7437be3ebacb031319862926f51578e69851db6ab5cd18848b87570f4733/markfinger/python-react/issues/78 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b6f7437be3ebacb031319862926f51578e69851db6ab5cd18848b87570f4733/markfinger/python-react/issues/78 |
| og:image:alt | It's probably worth allowing custom json serializers to be easily added. The change should be pretty simple, see python-react/react/render_server.py Line 27 in 1bad117 serialized_props = json.dumps... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | markfinger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24021c77440f544078f9cbe80d78a2fb16ccff65fca92deda9da3c51d1cdc5fc |
| turbo-cache-control | no-preview |
| go-import | github.com/markfinger/python-react git https://github.com/markfinger/python-react.git |
| octolytics-dimension-user_id | 175974 |
| octolytics-dimension-user_login | markfinger |
| octolytics-dimension-repository_id | 27406686 |
| octolytics-dimension-repository_nwo | markfinger/python-react |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27406686 |
| octolytics-dimension-repository_network_root_nwo | markfinger/python-react |
| 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 | 81e2c48314326bc7b2fe99b9dd0fe08ce098a869 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width