Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Christian Ziermann b8da0c7023 Initial commit 4 anos atrás
..
test Initial commit 4 anos atrás
.npmignore Initial commit 4 anos atrás
.travis.yml Initial commit 4 anos atrás
LICENSE Initial commit 4 anos atrás
README.md Initial commit 4 anos atrás
index.js Initial commit 4 anos atrás
package.json Initial commit 4 anos atrás

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