Converts variant to its JSON encoded string representation.
This is a convenience function around funcJson.gvariant_serialize, to obtain the JSON tree, and then json.generator.Generator to stringify it.
A #GVariant to convert
the length of the returned string
The JSON encoded string corresponding to the given variant
Converts variant to its JSON encoded string representation.
This is a convenience function around funcJson.gvariant_serialize, to obtain the JSON tree, and then json.generator.Generator to stringify it.