title: Systemd dbus sd_bus_call_method() with array
body: <p>I am trying to modify some code using systemd dbus.</p>
  
  <p>The method call looks like this:</p>
  
  <pre><code>res = sd_bus_call_method(bus,
      SERVICE_NAME,
      OBJECT_PATH,
      INTERFACE,
      "AddData",
      &amp;error, &amp;m,
      "ss",
      data-&gt;key,
      data-&gt;valyue);
  </code></pre>
  
  <p>Now I'm trying to change that to:</p>
  
  <pre><code>res = sd_bus_call_method(bus,
      SERVICE_NAME,
      OBJECT_PATH,
      INTERFACE,
      "AddData",
      &amp;error, &amp;m,
      "(a(ss))",
      /* WHAT DO I PASS HERE? */);
  </code></pre>
  
  <p>I can't find examples or documentation and the code is not super clear to me.</p>