All of the values in the JSON column will be transformed to a JSON array with "JSON key" key complemented by the custom key/value pairs, or just the array if the option Omit root is selected. (The JSON content in the file can be pretty-printed.) The output looks like this:
{
"JSON key": [
{"json":"from Row1"},
{"json":"from Row2"}
],
"custom key":"custom value"
} where the JSON key can be specified with the Add root object with key parameter, the "custom key":"custom value" is specified by the Custom key/value pairs and the Collect into array options.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!