Is a binary JSON javascript library available for browsers?

后端 未结 3 1484
梦谈多话
梦谈多话 2021-02-01 19:14

In order for efficient server side parsing I am looking into a BSON solution directly for the browser javascript environment. The idea is to utilize the entire ASCII space by me

3条回答
  •  梦如初夏
    2021-02-01 19:44

    This might be incomplete but the goal of the project line up with what you want: https://github.com/muhmi/javascript-bson It doesn't look like that encodes directly to typed arrays which would be the most useful for sending over WebSocket.

提交回复
热议问题