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.

  1. 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.

  2. 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.

  3. 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

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 · JSONL

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.

terminal
$ cv convert report.properties report.jsonl
$ cv convert report.properties report.jsonl

Questions.What people ask about PROPERTIES to JSONL.

01OF 04

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.

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