allow say.text to accept either a string or an array of strings

This commit is contained in:
Dave Horton
2020-04-29 10:49:16 -04:00
parent a806a4eb46
commit 419c5ea9fd
6 changed files with 50 additions and 24 deletions

View File

@@ -0,0 +1,9 @@
{
"say": {
"text": ["hi there", "John"],
"synthesizer": {
"vendor": "google",
"language": "en-US"
}
}
}

9
test/data/good/say.json Normal file
View File

@@ -0,0 +1,9 @@
{
"say": {
"text": "hi there",
"synthesizer": {
"vendor": "google",
"language": "en-US"
}
}
}