[Oracle] Restore property coercion and legality merge in native JSON import

This commit is contained in:
Lukas Brübach 2026-08-30 22:54:12 +02:00
parent 23bdc1d986
commit b16497327f
2 changed files with 22 additions and 6 deletions

View file

@ -157,7 +157,10 @@ public:
int startImport();
bool saveToFile(const QString &fileName, const QString &sourceUrl, const QString &sourceVersion);
int importCardsFromSet(const CardSetPtr &currentSet, const QJsonArray &cardsList);
FormatRulesNameMap createDefaultMagicFormats();
/**
* @brief Returns the default format rules. The result is memoized on first use and must be treated as immutable.
*/
const FormatRulesNameMap &createDefaultMagicFormats();
const CardNameMap &getCardList() const
{
return cards;