code: static void writeAttribute(Writer out, String name, String value) throws IOException {
          out.write('"');
          out.write(name);
          out.write("\":");
          out.write(quote(value));
      }
docs: Write a quoted attribute with a value to a writer.
  
  @param out   The out writer
  @param name  The name of the attribute
  @param value The value
  @throws IOException If an error occurred writing output