code: public JsonWriter writeName(String name) throws IOException {
          indent();
          writer.write(escape(name));
          writer.write(":");
          if (prettyPrint) {
              writer.write(" ");
          }
          willWriteValue = true;
          return this;
      }
docs: Writes a key name to a character stream.
  
  @param name the string to write to a character-output stream
  @return this JsonWriter
  @throws IOException if an I/O error has occurred