Convert PROPERTIES to MSGPACK
Turn PROPERTIES 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 PROPERTIES files on the dialor turn it to pick what to do
Java Properties as compact MessagePack.Your keys and values keep their structure and order in a binary file.
What you get
One MSGPACK file with the same structure and the same key order as the PROPERTIES file. MessagePack is binary JSON: the same values as JSON in a compact byte encoding.
Integers, floats, booleans, null, text, lists and maps keep their types. Each value is written as the type it holds, not turned into text.
Dates
Dates are written as text. MessagePack gets the date as a string, not as a special date type, so a program that reads the file receives text and must parse it if it needs a date.
Going back
To turn a MessagePack file into properties again, use MSGPACK to PROPERTIES. To see other options for this format, there is a page for every MSGPACK conversion.
PROPERTIES and MSGPACK.What each format is.
The formats
Java Properties
Key and value pairs in the Java properties format.
- Extensions
- .properties
- MIME type
- text
/x -java -properties - 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 PROPERTIES to MSGPACK conversion through the API, for your app or your agent.
$ cv convert report.properties report.msgpack$ cv convert report.properties report.msgpackQuestions.What people ask about PROPERTIES to MSGPACK.
Yes. The structure and the key order of the PROPERTIES file are kept in the MSGPACK file.
Yes. Integers and floats keep their types, and so do booleans and null.
Dates are stored as text. They do not become a date type in MessagePack.
You get one file.