Convert BR to JSON
Turn BR archives into JSON. The Brotli layer is removed and the bytes inside are written as they were.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop BR files on the dialor turn it to pick what to do
The JSON inside a BR file.The Brotli layer comes off. The bytes inside are written out as they were.
What you get
One JSON file. The Brotli compression is removed, and the content inside is written unchanged, byte for byte.
A BR file holds a single file, so there is one output for each input.
What it expects
Ask for the format you know is inside. If the file inside is not JSON, the conversion is refused.
The conversion stops with
unsupported_elementswhen the file holds something JSON cannot carry, or when the 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 with Brotli again, use JSON to BR. For other formats, see every BR conversion.
BR and JSON.What each format is.
The formats
Brotli
A single file compressed with Brotli, the web's compression for static assets.
- Extensions
- .br
- MIME type
- application
/x -brotli - 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 BR to JSON conversion through the API, for your app or your agent.
$ cv convert archive.br archive.json$ cv convert archive.br archive.jsonQuestions.What people ask about BR to JSON.
No. The bytes inside are written as they were. Only the Brotli layer is taken off.
The conversion is refused. Ask for the format you know is inside the BR file.
The file could not be parsed. The conversion stops with input_corrupted in that case.
No. This conversion has no options.