mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-20 19:50:53 +03:00
Move source to src folder
This commit is contained in:
20
src/jsonparser.h
Normal file
20
src/jsonparser.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user