private JSONWriter write(String string) throws IOException {
        if (string.length() == 0) return this;
        stream.write(Utf8.toBytes(string));
        return this;
    }
Writes a string directly as-is to the stream of this.

@return this for convenience
vespajlib/src/main/java/com/yahoo/text/JSONWriter.java