According to JSON API v1.0, member names must not contain periods. So the RadioText Plus fields should be exploded into objects:
"radiotext_plus":{
"item.artist":"Silbermond",
"item.title":"Das Leichteste der Welt",
"item_running":true
}
should be
"radiotext_plus":{
"item":{
"artist":"Silbermond",
"title":"Das Leichteste der Welt",
},
"item_running":true
}
or
"radiotext_plus":{
"item":{
"artist":"Silbermond",
"title":"Das Leichteste der Welt",
"running":true
}
}
But this would pose a problem, because the content of RT+ class chat would be of ambiguous type (it may contain a string or an object with center string). So another way to do this would be:
According to JSON API v1.0, member names must not contain periods. So the RadioText Plus fields should be exploded into objects:
should be
or
But this would pose a problem, because the content of RT+ class
chat
would be of ambiguous type (it may contain a string or an object withcenter
string). So another way to do this would be:However, this would make the JSON more difficult to filter.