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