Title: Support a number as key in object when packing as MAP? · Issue #187 · msgpack/msgpack-javascript · GitHub
Open Graph Title: Support a number as key in object when packing as MAP? · Issue #187 · msgpack/msgpack-javascript
X Title: Support a number as key in object when packing as MAP? · Issue #187 · msgpack/msgpack-javascript
Description: Hi, I am developing a protocol in a resource constrain platform and suffer from very limited bandwidth. We are using map(integer: any) to transfer messages. However, this lib only packs objects as map() while the "key" in the object is r...
Open Graph Description: Hi, I am developing a protocol in a resource constrain platform and suffer from very limited bandwidth. We are using map(integer: any) to transfer messages. However, this lib only packs objects as ...
X Description: Hi, I am developing a protocol in a resource constrain platform and suffer from very limited bandwidth. We are using map(integer: any) to transfer messages. However, this lib only packs objects as ...
Opengraph URL: https://github.com/msgpack/msgpack-javascript/issues/187
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support a number as key in object when packing as MAP?","articleBody":"Hi,\r\n\r\nI am developing a protocol in a resource constrain platform and suffer from very limited bandwidth. \r\nWe are using map(integer: any) to transfer messages. \r\n\r\nHowever, this lib only packs objects as map() while the \"key\" in the object is required to be a string. \r\nUsing string adds at least additional 2 bytes compared to the integer, while the map(integer: bool or integer) can be only 3 bytes. \r\n\r\nI understand this request is not commonly used in the web dev, but it is very useful for us to reduce the bandwidth. \r\n\r\nThanks,","author":{"url":"https://github.com/majianjia","@type":"Person","name":"majianjia"},"datePublished":"2021-08-19T21:29:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/187/msgpack-javascript/issues/187"}
| 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:c29e0709-3863-8628-15c7-4a329658a6a1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9522:3A4603:A220FE:E7DC3D:6A633D1F |
| html-safe-nonce | 1d654a305265dfd864f8260918cc1512c24f1cd9044cf156e98cc8aec7767526 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTIyOjNBNDYwMzpBMjIwRkU6RTdEQzNEOjZBNjMzRDFGIiwidmlzaXRvcl9pZCI6IjYyNTEyNDcxMjM1NTAxMjUzNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6d3e63ba8f44ed4a678b021e91788c349fad0fecb1b09e920ca5494a2fa799bf |
| hovercard-subject-tag | issue:975064938 |
| 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/msgpack/msgpack-javascript/187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4bb596ef9e5a215c228a850c8dc7199883775cc522d7cd97abf44187ff8e2a75/msgpack/msgpack-javascript/issues/187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4bb596ef9e5a215c228a850c8dc7199883775cc522d7cd97abf44187ff8e2a75/msgpack/msgpack-javascript/issues/187 |
| og:image:alt | Hi, I am developing a protocol in a resource constrain platform and suffer from very limited bandwidth. We are using map(integer: any) to transfer messages. However, this lib only packs objects as ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | majianjia |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| go-import | github.com/msgpack/msgpack-javascript git https://github.com/msgpack/msgpack-javascript.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 2761854 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2761854 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-javascript |
| 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 | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width