YouTube Connector 25.3
YouTube Connector Help

# Examples

The YouTube Connector supports data downloaded in either JSON or XML format. If the data is in JSON format, it is converted to XML in a standard way. The root tag of the resulting XML is always `<json>`.

The following is a typical JSON example as it might apply to the YouTube Connector:

    {
    "person":
      [
        {
        "firstName": "John",
        "lastName": "Smith",
        "age": 42,
        "phoneNumber": [ "0123456789", "0987654321" ],
        "address":
          {
          "street": "1 Some Street",
          "city": "Some Place",
          "country": "Somewhere",
          }
        }
      ]
    }

The following is a JSON example as XML with `JsonUseXmlAttributes=False`:

    <json>
      <person>
        <firstName>John</firstName>
        <lastName>Smith>/lastName>
        <age>42</age>
        <phoneNumber>0123456789</phoneNumber>
        <phoneNumber>0987654321</phoneNumber>
        <address>
    	<street>1 Some Street</street>
    	<city>Some Place</city>
    	<country>Somewhere</country>
        </address>
      </person>
    </json>

The following is a JSON example as XML with `JsonUseXmlAttributes=True`:

    <json>
      <person firstName="John" lastName="Smith" age="42">
        <phoneNumber>0123456789</phoneNumber>
        <phoneNumber>0987654321</phoneNumber>
        <address street="1 Some Street" city="Some Place" country="Somewhere"/>
      </person>
    </json>

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery YouTube Connector 25.3

Topic Title: Examples