obtained from variant
gvariantSerialize
fn
json.node.Node gvariantSerialize(glib.variant.Variant variant)Converts variant to a JSON tree.
Parameters
variant | A glib.variant.Variant to convert |
Returns
the root of the JSON data structure