docs: public void write(JsonWriter json, @Nullable UserDto user) {
      if (user == null) {
        json.beginObject().endObject();
      } else {
        write(json, user, Collections.emptySet(), CONCISE_FIELDS);
      }
    }