code: public JsonWriter value(String value) throws IOException {
          if (value == null) {
              return nullValue();
          }
          beforeValue(false);
          string(value);
          return this;
      }
docs: Encodes {@code value}.
  
  @param value the literal string value, or null to encode a null literal.
  @return this writer.