Convert PROPERTIES to CBOR

Turn PROPERTIES 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 PROPERTIES files on the dialor turn it to pick what to do

Java properties in a CBOR file.The structure and the key order carry over, and the values keep their types.

  1. What you get

    One CBOR file with the same structure and the same key order as the PROPERTIES file. Nothing is reordered.

    Integers, floats, booleans, null, text, arrays and maps keep their types in CBOR. A number stays a number and a boolean stays a boolean, not a string.

  2. Dates

    Dates are written as text. CBOR holds them as strings, not as a special date type.

  3. Related conversions

    To go the other way, use CBOR to PROPERTIES. You can also browse every CBOR conversion.

PROPERTIES and CBOR.What each format is.

The formats

From · PROPERTIES

Java Properties

Key and value pairs in the Java properties format.

Extensions
.properties
MIME type
text/x-java-properties
Kind
Text and data
To · CBOR

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 PROPERTIES to CBOR conversion through the API, for your app or your agent.

terminal
$ cv convert report.properties report.cbor
$ cv convert report.properties report.cbor

Questions.What people ask about PROPERTIES to CBOR.

01OF 04

Yes. The CBOR file has the same structure and key order as the PROPERTIES file.

Yes. Integers and floats keep their types, and so do booleans and null.

Dates are stored as text, not as a date type.

It makes one file.

More conversions.Other ways in and out of PROPERTIES and CBOR.