您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Nikola Ignjatovic d724149647 Init commit 4 年前
..
test Init commit 4 年前
.npmignore Init commit 4 年前
.travis.yml Init commit 4 年前
LICENSE Init commit 4 年前
README.md Init commit 4 年前
index.js Init commit 4 年前
package.json Init 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