VAT  3.0
Video Analysis Tool
Namespaces | Typedefs | Functions
json.h File Reference
#include <QVariant>
#include <QString>

Go to the source code of this file.

Namespaces

 QtJson
 A JSON data parser.
 

Typedefs

typedef QVariantMap QtJson::JsonObject
 
typedef QVariantList QtJson::JsonArray
 

Functions

QVariant QtJson::parse (const QString &json)
 
QVariant QtJson::parse (const QString &json, bool &success)
 
QByteArray QtJson::serialize (const QVariant &data)
 
QByteArray QtJson::serialize (const QVariant &data, bool &success)
 
QString QtJson::serializeStr (const QVariant &data)
 
QString QtJson::serializeStr (const QVariant &data, bool &success)
 
void QtJson::setDateTimeFormat (const QString &format)
 
void QtJson::setDateFormat (const QString &format)
 
QString QtJson::getDateTimeFormat ()
 
QString QtJson::getDateFormat ()
 

Detailed Description

QtJson - A simple class for parsing JSON data into a QVariant hierarchies and vice-versa. Copyright (C) 2011 Eeli Reilin

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.