All of the values in the selected JSON column are combined into a single JSON structure. Depending on the
Place resulting JSON setting, the combined rows are either placed Under root key (as the
value of that key) or At top level in the output. You can use Additional properties to add
custom key/value pairs next to the combined JSON. The Combine rows as option controls whether
the rows are collected into an Array or into an Object with key (using a key column to
name each entry). For example, when combining rows as an array under a root key with additional
properties, the output looks like this:
{
"JSON key": [
{ "json": "from Row1" },
{ "json": "from Row2" }
],
"custom key": "custom value"
}
All columns and rows will be removed or collapsed to a single cell.You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME JSON-Processing from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!