Skip to main content
InputOutputAlias
PrettyJSONLines, PrettyNDJSON

Description

Differs from JSONEachRow only in that JSON is pretty formatted with new line delimiters and 4 space indents.

Example usage

Inserting data

Using a JSON file with the following data, named as football.json:
Insert the data:

Reading data

Read data using the PrettyJSONEachRow format:
The output will be in JSON format:

Format settings

Last modified on June 19, 2026