Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvaldesdeleon/beeson
Transparent binary JSON-based serialization
https://github.com/mvaldesdeleon/beeson
Last synced: about 6 hours ago
JSON representation
Transparent binary JSON-based serialization
- Host: GitHub
- URL: https://github.com/mvaldesdeleon/beeson
- Owner: mvaldesdeleon
- License: other
- Created: 2017-05-20T23:11:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-24T20:34:30.000Z (over 7 years ago)
- Last Synced: 2024-10-13T02:21:37.377Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# beeson
Transparent binary JSON-based serialization.
Why? Because none of the existing JSON-based binary libraries out there seem to support transparent serialization followed by deserialization, out of the box.
So I picked the one that was closest to what I needed and gave it that extra push.
```JS
var beeson = require('beeson');var stuff = [undefined, null, new Date(), new Buffer('hello'), {a:1, b: null, c: 'hello', d: [], e: undefined}];
beeson.deserialize(beeson.serialize(stuff));
// Profit
```# install
with [npm](https://npmjs.org) do:```
npm install beeson
```# license
MIT