1
0
This repository has been archived on 2024-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
qtjsonsettings/json.h
2011-03-17 16:22:43 +02:00

24 lines
680 B
C++

/****************************************************************************
**
** Copyright (c) 2010 Girish Ramakrishnan <girish@forwardbias.in>
**
** Use, modification and distribution is allowed without limitation,
** warranty, liability or support of any kind.
**
****************************************************************************/
#ifndef JSON_H
#define JSON_H
#include <QtCore/QByteArray>
#include <QtCore/QVariant>
namespace Json {
QVariant parse(const QByteArray &data, QString *error = 0);
QByteArray stringify(const QVariant &variant);
QByteArray prettyStringify(const QVariant &variant, int indent = 4, int indent0 = 0);
};
#endif // JSON_H