Variant.print

string print(bool typeAnnotate)

Pretty-prints value in the format understood by glib.variant.Variant.parse.

The format is described here.

If type_annotate is true, then type information is included in the output.

Parameters

typeAnnotatetrue if type information should be included in the output

Returns

a newly-allocated string holding the result.