Convert LZ4 to JSON

Turn LZ4 archives into JSON. The LZ4 layer is removed and the bytes inside are written as they were.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

The JSON inside your LZ4 file.The LZ4 layer comes off, and the JSON inside is written out as it was.

  1. What you get

    One JSON file. The LZ4 compression is removed, and the bytes inside are written exactly as they were stored, with nothing rewritten or reformatted.

  2. What it expects

    Ask for the format you know is inside the LZ4 file. If the contents are something other than JSON, the request is refused. The conversion unpacks the file. It does not turn one kind of data into another.

  3. When it stops

    A file that cannot be parsed as LZ4 stops with input_corrupted. A file that holds something JSON cannot carry stops with unsupported_elements. That code also appears when an input cannot become the format the join takes.

    To go the other way, use JSON to LZ4.

LZ4 and JSON.What each format is.

The formats

From · LZ4

LZ4

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

Extensions
.lz4
MIME type
application/x-lz4
Kind
Archives
To · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

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

terminal
$ cv convert archive.lz4 archive.json
$ cv convert archive.lz4 archive.json

Questions.What people ask about LZ4 to JSON.

01OF 04

No. The bytes inside the LZ4 file are written as they were. Only the compression layer is removed.

The request is refused. Ask for the format that is actually inside the LZ4 file.

The file could not be parsed. The conversion stops with this code when the LZ4 data cannot be read.

Yes. JSON to LZ4 compresses a JSON file into LZ4.

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