@Override
    public void writeString(String str) throws TException {
        writeCurrentContext();
        writeNameOrValue(TypedParser.STRING, str);
    }
Helper shared by write{List/Set}End.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/common/thrift/text/TTextProtocol.java