You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christian Ziermann b8da0c7023 Initial commit пре 4 година
..
test Initial commit пре 4 година
.npmignore Initial commit пре 4 година
.travis.yml Initial commit пре 4 година
LICENSE Initial commit пре 4 година
README.md Initial commit пре 4 година
index.js Initial commit пре 4 година
package.json Initial commit пре 4 година

README.md

json-buffer

JSON functions that can convert buffers!

build status

testling badge

JSON mangles buffers by converting to an array… which isn’t helpful. json-buffers converts to base64 instead, and deconverts base64 to a buffer.

var JSONB = require('json-buffer')
var Buffer = require('buffer').Buffer

var str = JSONB.stringify(new Buffer('hello there!'))

console.log(JSONB.parse(str)) //GET a BUFFER back

License

MIT