Skip to content
background-image background-image

yaml_to_json_connector

YAML To JSON ConverterConnector

  • Version

    3.0

  • Agent restriction

    None

  • Processing type

    Row by row

  • Multi-input step

    Not Supported

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


Example

Following example shows how YAML is transformed to JSON.

Input 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.

Output 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."
  }
}

Input & Output Schema

Input

YAML (ver. 1.0.0)

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

Output

JSON (ver. 1.0.0)

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

Release notes

3.0.3

  • Fixed shared nuget package versions.

3.0.2

  • Fixed right processing of nullable properties.