# Class: DataPayload

## tibco.objectapi.common.datafeed.DataPayload

#### new DataPayload()

Payload data. Constructs a new DataPayload.

The following features are supported:

- `Serialized Payload`
- `Xml Payload`
- `Payload Mode`

### Members

#### payloadMode :tibco.objectapi.common.datafeed.PayloadModeType

Enumerated value defining the format of the data payload (JSON or XML). If not specified, the default value is JSON. (RSS is currently not supported.) This property holds the value of the 'Payload Mode' attribute.

##### Type:

- tibco.objectapi.common.datafeed.PayloadModeType

#### serializedPayload :string

JSON data stream (string). This property holds the value of the 'Serialized Payload' attribute.

##### Type:

- string

#### XmlPayload :tibco.objectapi.common.datamodel.DataModel

XML data stream (DataModel). This property holds the value of the 'Xml Payload' containment reference.

##### Type:

- tibco.objectapi.common.datamodel.DataModel