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

24 lines
676 B
C
Raw Normal View History

2011-03-05 20:37:24 +00:00
/****************************************************************************
**
** 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, int indent0 = 0);
};
#endif // JSON_H