Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Nikola Ignjatovic d724149647 Init commit il y a 4 ans
..
test Init commit il y a 4 ans
.npmignore Init commit il y a 4 ans
.travis.yml Init commit il y a 4 ans
LICENSE Init commit il y a 4 ans
README.md Init commit il y a 4 ans
index.js Init commit il y a 4 ans
package.json Init commit il y a 4 ans

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