pub fn string(state: &State<'_, '_>, value: &Value) -> Result<Value, Error>
Converts a value into a string if it’s not one already.
If the string has been marked as safe, that value is preserved.