Separator Parser

Prev Next

The Separator Parser is useful for RAS messages where the fields are separated by a specific character (e.g.: ^Artist~Title~Category~Duration| ).

Param name

Mandatory

Description

Default Value

Possible Value

Encoding

Yes

Source encoding of the message coming from the automation system.

utf-8

 

StartBytes

No

Bytes delimiting the beginning of a valid message. Any bytes before this will be discarded.

 

Bytes, in hexadecimal notation.

EndBytes

Yes

Bytes delimiting the end of a valid message.

 

Bytes, in hexadecimal notation.

Separator

No

Characters used to delimit the fields.

 

 

MinimumFieldCount

Yes

Minimum number of fields that must be present in a message. Any message read that contains fewer fields than this will be discarded.

 

 

MaximumFieldCount

Yes

Maximum number of fields that can be present in a message. Any message read that contains more fields than this will be discarded.

 

 

FieldMappings

Yes

A mapping of the RAS message field to a dictionary of key-values.