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.
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.
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.
When it stops
A file that cannot be parsed as LZ4 stops with
input_corrupted. A file that holds something JSON cannot carry stops withunsupported_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
LZ4
A single file compressed with LZ4, built for speed over ratio.
- Extensions
- .lz4
- MIME type
- application
/x -lz4 - Kind
- Archives
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.
$ cv convert archive.lz4 archive.json$ cv convert archive.lz4 archive.jsonQuestions.What people ask about LZ4 to JSON.
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.