Fwupd.JcatFile.import_json – fwupd Reference Manual
Packages
fwupd
Fwupd
JcatFile
JcatFile
add_item
export_bytes
export_json
get_item_by_id
get_item_default
get_items
get_version_major
get_version_minor
import_bytes
import_json
import_stream
import_json
Description:
[
Version
( since =
"2.1.3"
) ]
public
bool
import_json
(
string
json)
throws
Error
Imports a FwupdJcat file from raw JSON.
Parameters:
this
JcatFile
json
JSON data
Returns:
true
for success