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.
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.