![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <QJsonArray>#include <QJsonDocument>#include <QJsonValue>#include <QString>#include <QStringList>Go to the source code of this file.
Functions | |
| QString | serializeDeckTags (const QStringList &tags) |
| Encodes deck tags as a compact JSON array for storage in a text column. | |
| QStringList | deserializeDeckTags (const QString &serialized) |
| Decodes deck tags previously written by serializeDeckTags. | |
|
inline |
Decodes deck tags previously written by serializeDeckTags.
|
inline |
Encodes deck tags as a compact JSON array for storage in a text column.
Deck tags are stored as JSON (rather than a delimited string) so tag names may contain any character, and decoded uniformly everywhere they are read.