Method

GUsbContextload

Declaration

gboolean
g_usb_context_load (
  GUsbContext* self,
  JsonObject* json_object,
  GError** error
)

Description

Loads the context from a JSON object.

Available since:0.4.0

Parameters

json_object JsonObject
 

A JsonObject.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.