Title: Quoted keys are read as empty strings · Issue #8 · dftbplus/hsd-python · GitHub
Open Graph Title: Quoted keys are read as empty strings · Issue #8 · dftbplus/hsd-python
X Title: Quoted keys are read as empty strings · Issue #8 · dftbplus/hsd-python
Description: The HSD specification does not really specify which characters are valid for properties or methods. To figure out if spaces are allowed in keys I used the TOML syntax of escaping keys, so quoting them. I did expect an error, of course, b...
Open Graph Description: The HSD specification does not really specify which characters are valid for properties or methods. To figure out if spaces are allowed in keys I used the TOML syntax of escaping keys, so quoting t...
X Description: The HSD specification does not really specify which characters are valid for properties or methods. To figure out if spaces are allowed in keys I used the TOML syntax of escaping keys, so quoting t...
Opengraph URL: https://github.com/dftbplus/hsd-python/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Quoted keys are read as empty strings","articleBody":"The HSD specification does not really specify which characters are valid for properties or methods. To figure out if spaces are allowed in keys I used the TOML syntax of escaping keys, so quoting them. I did expect an error, of course, but got an empty string.\r\n\r\nThe input\r\n\r\n```cson\r\n\"Quoted\" = 0\r\n```\r\n\r\nyields the following dict\r\n\r\n```python\r\n{'': 0}\r\n```\r\n\r\nwhich is in turn serialized as invalid HSD\r\n\r\n```cson\r\n = 0\r\n```","author":{"url":"https://github.com/awvwgk","@type":"Person","name":"awvwgk"},"datePublished":"2020-04-07T07:59:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8/hsd-python/issues/8"}
| 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:67e123d5-56da-4730-5aa6-fa977506d238 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B54:38FD49:1323948:19D68EF:6A4D6F47 |
| html-safe-nonce | 172a684cb28a87939902508dee737f3cfc61050e3ef8e0007f1c102f9d5357e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjU0OjM4RkQ0OToxMzIzOTQ4OjE5RDY4RUY6NkE0RDZGNDciLCJ2aXNpdG9yX2lkIjoiMTczNjIxNzU1MzExNjQyNjA1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d964646048a82506084944cef2ae615019c71e43ca69c7f420e9240792b1e4a0 |
| hovercard-subject-tag | issue:595671555 |
| 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/dftbplus/hsd-python/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/300a96d202a3aa63d335904919fa7e8046e54dab6f7cee156dc53c0715e2041e/dftbplus/hsd-python/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/300a96d202a3aa63d335904919fa7e8046e54dab6f7cee156dc53c0715e2041e/dftbplus/hsd-python/issues/8 |
| og:image:alt | The HSD specification does not really specify which characters are valid for properties or methods. To figure out if spaces are allowed in keys I used the TOML syntax of escaping keys, so quoting t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | awvwgk |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| turbo-cache-control | no-preview |
| go-import | github.com/dftbplus/hsd-python git https://github.com/dftbplus/hsd-python.git |
| octolytics-dimension-user_id | 24522763 |
| octolytics-dimension-user_login | dftbplus |
| octolytics-dimension-repository_id | 237852279 |
| octolytics-dimension-repository_nwo | dftbplus/hsd-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 237852279 |
| octolytics-dimension-repository_network_root_nwo | dftbplus/hsd-python |
| 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 | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width