Skip to content
background-image background-image

YAML To JSON ConverterConnector

[ | version 3.0]

Connector

The connector is permitted for use of the platform background agent.

Connector processing type: Row by row!

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.