This simple system allows for excellent compression of uri encoded JSON strings using the JSCrush algorithm.
Features
- The JSCrush algorithm eliminates repeated substrings similar to the zip algorithm
- Strings are processed to swap out common json characters with ones that won't be escaped in the URL
- This can be used to compress any type of string but is optimized for uri encoded JSON
- The algorithm speed is reasonable for most cases but can be slow for long strings (>10K characters)
- The character \u0001 (start of heading) is used as a delimiter and will be removed if it appears
- No additional libraries or dependencies are required and minified code is under 2k
Categories
JSONLicense
MIT LicenseFollow JSONCrush
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of JSONCrush!