docs: static void putObjectIfNotNull(
              @NonNull JSONObject jsonObject,
              @NonNull @Size(min = 1) String fieldName,
              @Nullable JSONObject value
      ) {
          if (value == null) {
              return;
          }
  
          try {
              jsonObject.put(fieldName, value);
          } catch (JSONException ignored) { }
      }