On 12/12/2017 01:39 AM, Vasyl Vavrychuk wrote:
I want to develop demo of using Provisioning property in JSON format.
For this I need JSON parser but when I use JSON Glib I am getting conflicts
In file included from /usr/include/glib-2.0/gio/gio.h:26:0,
/usr/include/glib-2.0/gio/giotypes.h:546:47: error: conflicting types
typedef struct _GDBusProxy GDBusProxy;
In file included from src/service.c:30:0:
Does this means that I can not use JSON Glib?
Oh, I didn't realize that the glib JSON parser has a dependency to GIO
and as you found out will not work with ConnMan.
We didn't want to introduce the object model of the GNOME libraries.
That's why we never used those parts of the glib.
I fear you need to use an other JSON implementation.