The ESP to JSON Stream formatter translates AepRecord objects to JSON strings, and sends the JSON strings to next streaming output transporter that is configured in the adapter configuration file. Set values for this formatter in the adapter configuration file.
XML Element | Description |
---|---|
ColsMapping |
(Required) Element containing the Column element. |
Column |
Type: complextype (Required) Specify JSONPath expressions for the JSON data that you want to map to columns of the a stream. You can have multiple Column elements. For example, if you had the following JSON data about a
person,
{ "firstName": "John", "lastName": "Smith", "phoneNumbers": [ { "type": "home", "number": "212 555-1234" }, { "type": "fax", "number": "646 555-4567" } ], "friends": [ ["female1","female2","female3"], ["male1","male2","male3"] ] } The first <Column/> element and its value are mapped to the first column of a stream, the second <Column/> element and its value are mapped to the second column of a stream, and so on. |
SecondDateFormat |
Type: string (Advanced) The format string for SecondDate values. For example, yyyy-MM-dd'T'HH:mm:ss is the default value. |
MSDateFormat |
Type: string (Advanced) The format string for MsDate values. For example, yyyy-MM-dd'T'HH:mm:ss.SSS is the default value. |