Hub
Pricing About
NodeNode / Manipulator

XML to JSON

Structured DataJSONStreamable
Drag & drop
Like

Converts XML values to JSON values.

Attributes are translated with prefix @ , processing instructions with ? prefix to their name as a key in a JSON object.

When there are multiple texts surrounding inner elements, those are translated as JSON array elements instead of an object with the specified key.

Example: <a b="2"><v>some text</v></a> gets translated to: {"a": {"@b": "2", "v": {"#text": "some text"} } }

Node details

Input ports
  1. Type: Table
    table with XML
    Table with an XML column.
Output ports
  1. Type: Table
    table with JSON
    Table containing the converted JSON column.

Extension

The XML 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