Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compressed Json Javascript [closed]

Currently I send JSON from an Ajax post to the server which is then converted to objects using the Jackson Mapper.

The format is like this

{"id":"780710","folderID":"42024","displayOrder":2},{"id":"780724","folderID":"42024","displayOrder":3} 

What is the best JavaScript library to compress this data and will the Jackson mapper be able to handle the new format?

like image 657
rayray Avatar asked Jul 13 '12 15:07

rayray


1 Answers

Why not just enable gzip compression that browser and web servers support? This will very nicely compress data sizes, with very little explicit work.

like image 87
StaxMan Avatar answered Oct 16 '22 01:10

StaxMan