code: public JSONEmitter addObject(String name, String value) {
          checkComma();
          write("{\"");
          write(encodeString(name));
          write("\":\"");
          if (value != null) {
              write(encodeString(value));
          }
          write("\"}");
  		return this;
    }
docs: Add a one-field object consisting of the given name and string value. This
  generates the JSON text:
  <pre>
  {"name":"value"}
  </pre>
  
  @param name  Name of new field.
  @param value Value of new field as a string.
  @return      The same JSONEmitter object, which allows call chaining.