Hobrasoft httpd server
Embedded HTTP server for Qt and C++
hobrasofthttp
example
src
httpd
json.h
Go to the documentation of this file.
1
5
#ifndef _JSON_H_
6
#define _JSON_H_
7
8
#include <QVariant>
9
#include <QByteArray>
10
#include <QVariant>
11
#include <QList>
12
#include <QSet>
13
14
namespace
Example
{
15
class
JSON
{
16
public
:
17
static
QByteArray
json
(
const
QVariant&
data
);
18
static
QVariant
data
(
const
QByteArray&
json
);
19
};
20
}
21
22
#endif
Example
Namespace for Example.
Definition:
application.h:11
Example::JSON
Definition:
json.h:15
Example::JSON::data
static QVariant data(const QByteArray &json)
Converts json to data.
Definition:
json.cpp:45
Example::JSON::json
static QByteArray json(const QVariant &data)
Converts data to json.
Definition:
json.cpp:22
Generated on Tue Dec 11 2018 11:15:48 for Hobrasoft httpd server by
1.8.14