use_gvariant


Description:

[ Version ( since = "3.26" ) ]
public bool use_gvariant { get; set; }

The "use-gvariant" property denotes if Variant should be used to communicate with the peer instead of JSON.

You should only set this if you know the peer is also a Jsonrpc-GLib based client.

Setting this property allows the peers to communicate using GVariant instead of JSON. This means that we can access the messages without expensive memory allocations and parsing costs associated with JSON. Variant is much more optimal for memory-bassed message passing.