Convert JSON to LZ4

Turn JSON files into LZ4. The file compressed as one LZ4 stream at level 1 unless level is given; it is not an archive.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop JSON files on the dialor turn it to pick what to do

Your JSON file, compressed as one LZ4 file.The output is a single .lz4 file. It is not an archive.

  1. What you get

    One LZ4 file that holds your JSON file as a single compressed stream. LZ4 is built for speed over ratio, and it compresses a single file, so there is no folder structure inside.

    The content of the JSON is the same as what you put in. To read it again, use LZ4 to JSON.

  2. Compression level

    The file is compressed at level 1 unless you set Compression level. The range is 1 to 9. A higher level makes a smaller file and takes longer to compress.

    The content is the same at every level, so the level only changes how hard the compressor works and how small the file gets.

JSON and LZ4.What each format is, and the options this conversion takes.

  1. 01 · level

    Compression level

    How hard the compressor works. Higher makes a smaller file and takes longer. The content is the same at every level.

    1 to 9

The formats

From · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data
To · LZ4

LZ4

A single file compressed with LZ4, built for speed over ratio.

Extensions
.lz4
MIME type
application/x-lz4
Kind
Archives

In your code.The same JSON to LZ4 conversion through the API, for your app or your agent.

terminal
$ cv convert report.json report.lz4
$ cv convert report.json report.lz4

Questions.What people ask about JSON to LZ4.

01OF 04

No. It is your one JSON file compressed as a single stream. Nothing else is stored with it.

Level 1, unless you set Compression level to a value from 1 to 9.

No. The content is the same at every level. Only the work the compressor does and the size of the file change.

Convert the LZ4 file with LZ4 to JSON.

More conversions.Other ways in and out of JSON and LZ4.