1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef JSONRPCPARSER_H
6#define JSONRPCPARSER_H
7
8#include <QThread>
9
10namespace newlsp {
11class JsonRpcParser : public QObject
12{
13 Q_OBJECT
14public:
15 JsonRpcParser(QObject *parent = nullptr) : QObject(parent) {}
16
17public Q_SLOTS:
18 void doParseReadLine(const QByteArray &line);
19
20Q_SIGNALS:
21 void readedJsonObject(const QJsonObject &obj);
22};
23
24}
25#endif // JSONRPCPARSER_H
26