docs: public static long getLong(JsonObject object, String field, long defaultValue) {
          final JsonValue value = object.get(field);
          if (value == null || value.isNull()) {
              return defaultValue;
          } else {
              return value.asLong();
          }
      }