Skip to content
background-image background-image

json_to_yaml_connector

JSON To YAML Connector

  • Version

    3.0

  • Agent restriction

    None

  • Processing type

    Row by row

  • Multi-input step

    Not Supported

JSON is a lightweight data-interchange format. This connector transforms input JSON format to another human-readable format YAML, which is a human-readable data-serialization language. It is commonly used for configuration files and in applications where data is being stored or transmitted.


Example

Following example shows how JSON is transformed to YAML.

Input data

JSON (ver. 1.0.0)

{
  "Id": 1,
  "Email": "james@example.com",
  "Active": true,
  "CreatedDate": "2013-01-20T00: 00: 00Z",
  "Roles": [
    "User",
    "Admin"
  ],
  "Team": {
    "Id": 2,
    "Name": "Software Developers",
    "Description": "Creators of fine software."
  }
}

Output data

YAML (ver. 1.0.0)

Id: 1
Email: james@example.com
Active: true
CreatedDate: 2013-01-20T00:00:00.0000000Z
Roles:
- User
- Admin
Team:
  Id: 2
  Name: Software Developers
  Description: Creators of fine software.

Input & Output Schema

Input

JSON (ver. 1.0.0)

Column Data type Allow null Description
JSON JSON No Input/Output in JSON format

Output

YAML (ver. 1.0.0)

Column Data type Allow null Description
YAML string No YAML as plain text.

Release notes

3.0.3

  • Fixed shared nuget package versions.

3.0.2

  • Fixed right processing of nullable properties.