Code Review
/
vnfsdk
/
refrepo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug:Fix file validation issue
[vnfsdk/refrepo.git]
/
vnfmarket
/
src
/
main
/
webapp
/
vnfmarket
/
node_modules
/
redis
/
benches
/
stress
/
codec.js
1
var json = {
2
encode: JSON.stringify,
3
decode: JSON.parse
4
};
5
6
var MsgPack = require('node-msgpack');
7
msgpack = {
8
encode: MsgPack.pack,
9
decode: function(str) { return MsgPack.unpack(new Buffer(str)); }
10
};
11
12
bison = require('bison');
13
14
module.exports = json;
15
//module.exports = msgpack;
16
//module.exports = bison;