mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-07 11:59:57 +03:00
17 lines
244 B
C++
17 lines
244 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
#include <QVector>
|
|
#include <QPair>
|
|
|
|
class JsonParser
|
|
{
|
|
public:
|
|
JsonParser() = default;
|
|
|
|
QVector<QPair<QString, int>> parse(const QString &json);
|
|
|
|
private:
|
|
QString removeQuotes(const QString &s);
|
|
};
|