vsdk  9.1.0
Vsdk::Tts::Events Namespace Reference

Classes

struct  Marker
 
struct  WordMarker
 

Functions

void to_json (nlohmann::json &j, Marker const &marker)
 Serializes a marker to JSON format. More...
 
void from_json (nlohmann::json const &j, Marker &marker)
 Deserializes a marker from JSON format. More...
 
void to_json (nlohmann::json &j, WordMarker const &wordMarker)
 Serializes a wordMarker to JSON format. More...
 
void from_json (nlohmann::json const &j, WordMarker &wordMarker)
 Deserializes a wordMarker from JSON format. More...
 

Function Documentation

◆ to_json() [1/2]

void Vsdk::Tts::Events::to_json ( nlohmann::json &  j,
Marker const &  marker 
)

Serializes a marker to JSON format.

◆ from_json() [1/2]

void Vsdk::Tts::Events::from_json ( nlohmann::json const &  j,
Marker marker 
)

Deserializes a marker from JSON format.

◆ to_json() [2/2]

void Vsdk::Tts::Events::to_json ( nlohmann::json &  j,
WordMarker const &  wordMarker 
)

Serializes a wordMarker to JSON format.

◆ from_json() [2/2]

void Vsdk::Tts::Events::from_json ( nlohmann::json const &  j,
WordMarker wordMarker 
)

Deserializes a wordMarker from JSON format.