您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Muqriz 48f16bfc3e initail first 4 个月前
..
test initail first 4 个月前
.travis.yml initail first 4 个月前
LICENSE initail first 4 个月前
README.md initail first 4 个月前
index.js initail first 4 个月前
package.json initail first 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(Buffer.from('hello there!'))

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

License

MIT