Convert JSONL to PROPERTIES
Turn JSONL files into PROPERTIES. Each value becomes one key=value line with Java escapes, under its path of keys joined with dots and list positions in brackets, such as server.hosts[0], and a top-level list is written under items, such as items[0].name.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop JSONL files on the dialor turn it to pick what to do
JSON Lines as Java properties.Every value becomes one key=value line, named by its path.
What you get
One PROPERTIES file with one key=value line for each value in the JSONL file. Values are written with Java escapes.
Each key is the path of keys to that value, joined with dots. List positions go in brackets, so a value in a list under server is written as server.hosts[0].
How lists are named
A top-level list is written under items. A value in the first object is named items[0].name, for example.
Empty objects and lists
An empty object or list is written as JSON text.
JSONL and PROPERTIES.What each format is.
The formats
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
Java Properties
Key and value pairs in the Java properties format.
- Extensions
- .properties
- MIME type
- text
/x -java -properties - Kind
- Text and data
In your code.The same JSONL to PROPERTIES conversion through the API, for your app or your agent.
$ cv convert report.jsonl report.properties$ cv convert report.jsonl report.propertiesQuestions.What people ask about JSONL to PROPERTIES.
The keys on the path to a value are joined with dots, and list positions are written in brackets, such as server.hosts[0].
It is written under items, such as items[0].name.
Yes, with PROPERTIES to JSONL.
Yes. Each value is written with Java escapes.