1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef QJSON_H
15#define QJSON_H
16
17QObject *qobject_from_json(const char *string, Error **errp);
18
19QObject *qobject_from_vjsonf_nofail(const char *string, va_list ap)
20 G_GNUC_PRINTF(1, 0);
21QObject *qobject_from_jsonf_nofail(const char *string, ...)
22 G_GNUC_PRINTF(1, 2);
23QDict *qdict_from_vjsonf_nofail(const char *string, va_list ap)
24 G_GNUC_PRINTF(1, 0);
25QDict *qdict_from_jsonf_nofail(const char *string, ...)
26 G_GNUC_PRINTF(1, 2);
27
28GString *qobject_to_json(const QObject *obj);
29GString *qobject_to_json_pretty(const QObject *obj, bool pretty);
30
31#endif
32