Parsers

Prev Next

This section provides reference information for the parsers. Parsers take data from the RAS and convert it into variables for mapping into STWCue format. You can use parser variables in a mapping processor by enclosing it in curly braces {like_this}.

For example:

Raw data from RAS:

[London Calling,The Clash,198]

The parser is configured to produce three variables: title, artist, and duration.

Parser-field-mapping-example

The variables will get the following values for this specific message:

title = "London Calling"
artist = "The Clash"
duration = "198"

You can then use these variables in the mapping processor by referring to them using {title}, {artist}, or {duration}:

Parser-mapping-items-example

In addition to the variables that you define in a parser, there are two internal variables that could be used in the mapping processor:

  • {timestamp} – set to the current time in Unix time (milliseconds).

  • {eventid} – a GUID that is unique for each cue point.

Parsers described in this section include: