private static @Nullable double[] parsePrice(@NotNull Map<String, Object> jsonObject, @NotNull String key) {
    Object value = jsonObject.get(key);

    if (value instanceof Map) {
      Object subscription = ((Map<?, ?>)value).get("subscription");
      if (subscription instanceof Map) {
        return new double[]{parsePriceValue((Map)subscription, "monthly"), parsePriceValue((Map)subscription, "annual")};
      }
    }

    return null;
  }
private static @Nullable double[] parsePrice(@NotNull Map<String, Object> jsonObject, @NotNull String key)