I have struct type:
struct Book
{
int id;
QString name;
QString author;
}
And I read these from JSON text, and store them to QVector<Book>
container.
How to convert this vector back to JSON text?
I have struct type:
struct Book
{
int id;
QString name;
QString author;
}
And I read these from JSON text, and store them to QVector<Book>
container.
How to convert this vector back to JSON text?
JSON is supported by Qt 5, look at JSON Support in Qt