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

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow JSONCrush

JSONCrush Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JSONCrush!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript JSON Software

Registered

2023-10-12