Convert PROPERTIES to JSONL
Turn PROPERTIES files into JSONL. Each entry of a top-level list becomes one line of compact JSON, and any other value becomes a single line, with values and key order kept.
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 JSON Lines.Each entry becomes one line of compact JSON, with values and key order kept.
What you get
One JSONL file. The format is JSON Lines, with one JSON object per line, the format of logs and datasets.
When the top level is a list, each entry of the list becomes one line of compact JSON. Any other value becomes a single line.
What stays the same
Values and key order are kept. A key that comes first in the PROPERTIES file comes first on its line.
The conversion has no options. You give it a PROPERTIES file and get one file back.
Going the other way
To turn JSONL back into key and value pairs, use JSONL to PROPERTIES. To see the other conversions that start from this format, open every PROPERTIES conversion.
PROPERTIES and JSONL.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 Lines
JSON Lines, one JSON object per line, the format of logs and datasets.
- Extensions
- .jsonl .ndjson
- MIME type
- application
/jsonl - Kind
- Text and data
In your code.The same PROPERTIES to JSONL conversion through the API, for your app or your agent.
$ cv convert report.properties report.jsonl$ cv convert report.properties report.jsonlQuestions.What people ask about PROPERTIES to JSONL.
It depends on the top-level value. Each entry of a top-level list becomes one line. Any other value becomes a single line.
Yes. Values and key order are kept as they are in the PROPERTIES file.
No. The conversion has no options, and it produces one file.
Yes. Each line holds compact JSON.