Convert PROPERTIES to JSON

Turn PROPERTIES files into JSON. Each key stays one flat key with its dots, after escapes, \uXXXX sequences and continued lines are decoded; numbers and booleans are typed.

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 one JSON file.Each key becomes a flat JSON key, with its dots kept. Values are decoded and typed.

  1. What you get

    One JSON file holding the key and value pairs from your PROPERTIES file. Each key stays one flat key with its dots, so a key such as a.b.c is not split into nested objects.

    Escapes, \uXXXX sequences and continued lines are decoded before the file is written. Numbers and booleans are typed, so they are not left as text.

  2. What it leaves behind

    Comments are dropped. They do not appear in the JSON.

    A key with no value becomes null.

PROPERTIES and JSON.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 · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

In your code.The same PROPERTIES to JSON conversion through the API, for your app or your agent.

terminal
$ cv convert report.properties report.json
$ cv convert report.properties report.json

Questions.What people ask about PROPERTIES to JSON.

01OF 04

No. Each key stays one flat key with its dots.

No. They are typed as numbers and booleans in the JSON.

They are dropped and do not appear in the JSON.

It becomes null in the JSON.

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