A library to (de-)compress JSON strings using `zlib`.
github.com/BR0kEN-/json-zlib-compressor
Homepage
Source
Issues
Installs: 705
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
Suggests
None
Provides
Conflicts
Replaces
MIT bcbe979ca46df07cd9e7824d0a4ed79634578a3e
jsoncompresszipdeflateinflatezlibdecompress
This package is auto-updated.
Last update: 2024-05-06 19:19:37 UTC
A library to (de-)compress JSON strings using zlib.
zlib
composer require json-zlib/compressor
use Json\ZlibCompressor; $data = [ 'test' => 12, 'key' => [1, 2, 3], ]; \assert( $data === ZlibCompressor::inflate(ZlibCompressor::deflate($data)), );