Hub
Pricing About
NodeNode / Manipulator

Table to JSON

Structured DataJSON
Drag & drop
Like

Converts the selected columns content to a JSON value row-wise or column-wise. It also have an option to "undo" -with some limitations- the JSON to Table transformation and create JSON values for each row based on the column names.
Example input table:

a.ba.cdb0c0d0b1c1d1 With the different parameters, the following JSON values are generated:
Row-oriented
[ {
  "a.b" : "b0",
  "a.c" : "c0",
  "d" : "d0"
}, {
  "a.b" : "b1",
  "a.c" : "c1",
  "d" : "d1"
} ]
Column-oriented (with Row keys as JSON value with key: "ROWID"):
{
  "ROWID" : [ "Row0", "Row1" ],
  "a.b" : [ "b0", "b1" ],
  "a.c" : [ "c0", "c1" ],
  "d" : [ "d0", "d1" ]
}
Keep rows (with Column names as paths , separator: . ):
{
  "a" : {
    "b" : "b0",
    "c" : "c0"
  },
  "d" : "d0"
}
{
  "a" : {
    "b" : "b1",
    "c" : "c1"
  },
  "d" : "d1"
}

Node details

Input ports
  1. Type: Table
    Table
    A datatable
Output ports
  1. Type: Table
    JSON
    Table containing the JSON column

Extension

The Table to JSON node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits