eliran / cjson

Compact binary json for node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cjson

Compact binary json for node.js

CJSON convert javascript objects to binary encoded format to decrease transmittion size.

During the convertion CJSON would detect repeating strings and would send a reference number instead of the actual string. Thus, compacting the json.

In addition, an initial dictionary of strings can be provided that would allow many verbose protocol strings not to be sent at all.

About

Compact binary json for node.js


Languages

Language:JavaScript 100.0%