Statistics
| Branch: | Revision:

root / qjson.c @ 49a945a3

History | View | Annotate | Download (5.7 kB)

# Date Author Comment
9f9daf9a 12/03/2009 05:41 pm Luiz Capitulino

Introduce QError

QError is a high-level data type which represents an exception
in QEMU, it stores the following error information:

- class Error class name (eg. "ServiceUnavailable")
- description A detailed error description, which can contain...

8ff5a7d3 12/03/2009 05:41 pm Luiz Capitulino

QJSON: Introduce qobject_from_jsonv()

It accepts a va_list and will be used by QError. Also simplifies
the code a little, as the other qobject_from_() functions can
use it.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

1fd825f7 11/17/2009 04:49 pm Anthony Liguori

Provide marshalling mechanism for json

This introduces qobject_to_json which will convert a QObject to a JSON string
representation.

Signed-off-by: Anthony Liguori <>

b4748b9b 11/17/2009 04:49 pm Anthony Liguori

Add a QObject JSON wrapper

This provides a QObject interface for creating QObjects from a JSON expression.

Signed-off-by: Anthony Liguori <>