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.
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.cis 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.
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
Java Properties
Key and value pairs in the Java properties format.
- Extensions
- .properties
- MIME type
- text
/x -java -properties - Kind
- Text and data
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.
$ cv convert report.properties report.json$ cv convert report.properties report.jsonQuestions.What people ask about PROPERTIES to JSON.
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.