Convert CSV to MSGPACK
Turn CSV files into MessagePack. The same structure and key order in MessagePack, with integers, floats, booleans, null, text, lists and maps keeping their types and dates as text.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop CSV files on the dialor turn it to pick what to do
A CSV table as compact MessagePack.Each row keeps its structure and key order, with typed values.
What you get
One MessagePack file with the same structure and key order as the CSV. Integers, floats, booleans, null, text, lists and maps keep their types instead of all becoming text.
MessagePack is binary JSON: the same values as JSON in a compact byte encoding.
What changes
Dates are written as text. MessagePack gets the date as a string, not as a date type.
Setting the delimiter
The Delimiter option sets the character between fields. When you leave it out, it is guessed from the rows. Choose comma, semicolon, tab or pipe if the guess is wrong.
Spreadsheets in many European locales use semicolons, so Set Delimiter to semicolon for those files.
CSV and MSGPACK.What each format is, and the options this conversion takes.
- 01 · delimiter
Delimiter
The character between fields. It is guessed from the rows when left out. Spreadsheets in many European locales use semicolons.
commaA comma.semicolonA semicolon.tabA tab.pipeA vertical bar.
The formats
CSV
Rows of comma-separated values. The plainest way to move a table between programs.
- Extensions
- .csv
- MIME type
- text
/csv - Kind
- Text and data
MessagePack
Binary JSON: the same values as JSON in a compact byte encoding.
- Extensions
- .msgpack .mpk
- MIME type
- application
/msgpack - Kind
- Text and data
In your code.The same CSV to MSGPACK conversion through the API, for your app or your agent.
$ cv convert sheet.csv sheet.msgpack$ cv convert sheet.csv sheet.msgpackQuestions.What people ask about CSV to MSGPACK.
Yes. Integers and floats keep their types in the MessagePack file, as do booleans and null.
As text. They are not converted to a date type.
No. It is guessed from the rows when you leave it out. Set Delimiter if your file uses a character the guess misses.
Yes. MSGPACK to CSV turns the file back into rows.