spa-json: make sure we only add encoded string data
The spa_json_encode_string()
API does not add a null terminator character. We need to use the return value to know the size of the encoded string when adding it to the builder.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The spa_json_encode_string()
API does not add a null terminator character. We need to use the return value to know the size of the encoded string when adding it to the builder.