aboutsummaryrefslogtreecommitdiffstats
path: root/signaling-server/node_modules/socket.io/node_modules/redis/benches/stress/codec.js
blob: 7d764f60728c4b6574d82f350ccd58cb6f0ac2b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var json = {
	encode: JSON.stringify,
	decode: JSON.parse
};

var MsgPack = require('node-msgpack');
msgpack = {
	encode: MsgPack.pack,
	decode: function(str) { return MsgPack.unpack(new Buffer(str)); }
};

bison = require('bison');

module.exports = json;
//module.exports = msgpack;
//module.exports = bison;