dbusgdbusnetworkmanager

Meaning of Network Manager Dbus codes 'aa{ss}'


I am making a script to do IO to the NetworkManager over dbus. In the gnome developer docs function arguments are represented as things like 'aa{ss}' but i cannot find a description of there meaning.

Example

RouteData  readable   aa{sv} """<-this guy"""

Solution

  • Someone from the Gnome IRC was able to help me posting here in case somone else gets stuck.

    https://developer.gnome.org/glib/stable/gvariant-format-strings.html

    so aa{sv} means

    array array dict(string,variant)