Method

FwupdDeviceto_json

since: 1.2.6

Declaration [src]

void
fwupd_device_to_json (
  FwupdDevice* self,
  JsonBuilder* builder
)

Description [src]

Adds a fwupd device to a JSON builder.

Available since: 1.2.6

Parameters

builder

Type: JsonBuilder

A JSON builder.

The data is owned by the caller of the function.