2 * QObject JSON integration
4 * Copyright IBM, Corp. 2009
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10 * See the COPYING.LIB file in the top-level directory.
17 QObject
*qobject_from_json(const char *string
, Error
**errp
);
18 QObject
*qobject_from_jsonf(const char *string
, ...) GCC_FMT_ATTR(1, 2);
19 QObject
*qobject_from_jsonv(const char *string
, va_list *ap
, Error
**errp
)
22 QDict
*qdict_from_jsonf_nofail(const char *string
, ...) GCC_FMT_ATTR(1, 2);
24 QString
*qobject_to_json(const QObject
*obj
);
25 QString
*qobject_to_json_pretty(const QObject
*obj
);