_writeString

private fnvoid _writeString(W)(scope const(char)[] s, ref W buf, bool asciiOnly) @safe

Write a string value with proper escaping.