QJson - a Qt based library for mapping JSON data to QVariant objects

QJson home page

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Members

Signals | List of all members
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 35 of file parserrunnable.h.

## Member Function Documentation

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

  json | contains the result of the parsing
  ok | if a parsing error occurs ok is set to false, otherwise it's set to true.
  error_msg | contains a string explaining the failure reason

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

- /usr/obj/ports/qjson-0.8.1/qjson-0.8.1/src/parserrunnable.h
- /usr/obj/ports/qjson-0.8.1/qjson-0.8.1/src/parserrunnable.cpp

| hosts this site. |  | Send comments to: QJson Developers