json_gobject_serialize () doesn't support GVariant GObject properties
I implemented a GVariant property of an array of doubles, expecting that json-glib would be happy serializing this. Instead I get the error "Unsupported type `GVariant'". I went ahead and implemented the JsonSerializableIface interface for this object, where I simply call json_gvariant_serialize (g_value_get_variant (value)) in the serialize_property method. I'm curious why json-glib doesn't already do this though? Would be nice :-)
Great library though! Documentation was a little lacking in regards to json_object_set_member() and json_array_add_element() in that they take ownership of the JsonNode, but I figured this out after some program crashes.
Ubuntu 19.04 json-glib-1.4.4-2