mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-08 04:19:59 +03:00
21 lines
294 B
C++
21 lines
294 B
C++
#ifndef JSONPARSER_H
|
|
#define JSONPARSER_H
|
|
|
|
#include <QString>
|
|
#include <QVector>
|
|
#include <QStringList>
|
|
#include <QPair>
|
|
|
|
class JsonParser
|
|
{
|
|
public:
|
|
JsonParser();
|
|
|
|
QVector<QPair<QString, int>> parse(const QString &json);
|
|
|
|
private:
|
|
QString removeQuotes(const QString &s);
|
|
};
|
|
|
|
#endif
|