Motorola-Mobility/node-dbus — pull request #4 by gkubisa (2012-05-31 16:15:55+00:00)
Title: Variant simple

Builds on top of nested variant. It add a message property called variantPolicy. If it's set to NDBUS_VARIANT_POLICY_SIMPLE, the variant type will not be used for array and object values. Instead the first array element or the first object property will be used to determine a concrete type. So, all array elements must be of the same type and all object properties must be of the same type.

It's less flexible than the default policy but it's required by some applications, for example Connman's SetProperty method.