QJson home page
QJson::ParserRunnable Class Reference

Convenience class for converting JSON data to QVariant objects using a dedicated thread. More...

#include <parserrunnable.h>

Inherits QObject, and QRunnable.

Signals

void parsingFinished (const QVariant &json, bool ok, const QString &error_msg)
 

Detailed Description

Convenience class for converting JSON data to QVariant objects using a dedicated thread.

Definition at line 37 of file parserrunnable.h.

Member Function Documentation

◆ parsingFinished

void QJson::ParserRunnable::parsingFinished ( const QVariant & json,
bool ok,
const QString & error_msg )
signal

This signal is emitted when the parsing process has been completed

Parameters
jsoncontains the result of the parsing
okif a parsing error occurs ok is set to false, otherwise it's set to true.
error_msgcontains a string explaining the failure reason

The documentation for this class was generated from the following files:

SourceForge Logo hosts this site. Send comments to:
QJson Developers