Convert ENV to CBOR
Turn ENV files into CBOR. The same structure and key order in CBOR, with integers, floats, booleans, null, text, arrays and maps keeping their types and dates as text.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop ENV files on the dialor turn it to pick what to do
Your ENV file as CBOR.The structure and key order stay the same, and each value keeps its type.
What you get
One CBOR file with the same structure and key order as your ENV file. CBOR is the binary form of JSON used in IoT and web standards.
Integers, floats, booleans, null, text, arrays and maps keep their types. A number stays a number and a boolean stays a boolean.
What changes
Dates are written as text. They are not stored as a date type in the CBOR file.
Going back
To turn a CBOR file into KEY=value lines again, use CBOR to ENV.
ENV and CBOR.What each format is.
The formats
Dotenv
KEY=value lines that hold environment variables for an app.
- Extensions
- .env
- MIME type
- text
/x -env - Kind
- Text and data
CBOR
Concise Binary Object Representation, the binary JSON of IoT and web standards.
- Extensions
- .cbor
- MIME type
- application
/cbor - Kind
- Text and data
In your code.The same ENV to CBOR conversion through the API, for your app or your agent.
$ cv convert report.env report.cbor$ cv convert report.env report.cborQuestions.What people ask about ENV to CBOR.
No. The keys stay in the same order as in the ENV file.
Yes. Integers and floats keep their types, and so do booleans and null.
Dates are stored as text, not as a date type.
You get one CBOR file.