Writes value as a string literal to sink. This wraps the value in double quotes and escapes those characters that require it.
value
sink