Convert XZ to JSON
Turn XZ archives into JSON. The xz layer is removed and the bytes inside are written as they were.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XZ files on the dialor turn it to pick what to do
The JSON that was inside the XZ.The xz layer comes off and the bytes inside are written as they were.
What you get
One JSON file. The conversion removes the xz compression and writes out the bytes that were inside, without changing them.
There are no options to set. The file you get is the content of the archive, not a new version of it.
What it requires
Ask for the format you know is inside the XZ. If the contents are not JSON, the request is refused.
The conversion stops with
unsupported_elementswhen the file holds something the target cannot carry, or when an input cannot become the format the join takes. It stops withinput_corruptedwhen the file could not be parsed.Going the other way
To compress a JSON file into an XZ file, use JSON to XZ. To see the other conversions for this format, open every XZ conversion.
XZ and JSON.What each format is.
The formats
XZ
A single file compressed with xz, the LZMA format of most Linux distributions.
- Extensions
- .xz
- MIME type
- application
/x -xz - 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 XZ to JSON conversion through the API, for your app or your agent.
$ cv convert archive.xz archive.json$ cv convert archive.xz archive.jsonQuestions.What people ask about XZ to JSON.
No. The xz layer is removed and the bytes inside are written as they were.
The request is refused. Ask for the format you know is inside the XZ.
The file could not be parsed. The conversion stops with input_corrupted in that case.
One file. It is the JSON that was inside the XZ.