Skip to main content

JSON elements writer

Generate a JSON file on which you can append multiple JSON elements at the given JSON path.

Example
// 1st input:
{ "hello": "World" }

// 2nd input:
{ "hello": "France" }

// Configuration:
// JSON path: data

// Output:
{
"data": [{ "hello": "World" }, { "hello": "France" }]
}

Parameters

JSON path

The JSON path where to append the JSON elements.

Pretty

If checked, the JSON file will be formatted with indentation and lines.

Input

JSON elementREQUIRED

All the JSON elements to append to the JSON file. It accepts fragment of JSON which will be merged if possible, or overwritten. For example:

Fragments of JSON
{"name": "John"}
{"age": "27"}
{"age": "42"}
Merged JSON
{"name": "John", "age": "42"}