Statistics
| Branch: | Revision:

root / qjson.h @ e5924d89

History | View | Annotate | Download (617 Bytes)

# Date Author Comment
e5924d89 10/03/2010 09:34 am Stefan Weil

Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking)

Since version 4.4.x, gcc supports additional format attributes.
attribute ((format (gnu_printf, 1, 2)))
should be used instead of
attribute ((format (printf, 1, 2))...

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 <>