Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
185
rated 0 times [  191] [ 6]  / answers: 1 / hits: 87590  / 12 Years ago, fri, july 13, 2012, 12:00:00

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?


More From » compression

 Answers
28

As said by @JamWaffles, this is the best JSON is able to do concerning compression. And in your case (the line of code you delivered), compressing further may be overkill.



But if you have larger responses, and you want to save those bytes, have a look at





or





They are not JSON, but they serialize data to a smaller format (in most cases).


[#84271] Thursday, July 12, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
keyonna

Total Points: 521
Total Questions: 104
Total Answers: 96

Location: Samoa
Member since Tue, May 3, 2022
2 Years ago
keyonna questions
;