Fwupd.JsonObject.to_bytes – fwupd Reference Manual
Packages
fwupd
Fwupd
JsonObject
add_array
add_array_strv
add_boolean
add_bytes
add_integer
add_node
add_object
add_object_map
add_raw
add_string
clear
get_boolean
get_boolean_with_default
get_integer
get_integer_with_default
get_size
get_string_with_default
to_bytes
to_string
to_bytes
Description:
[
Version
( since =
"2.1.1"
) ]
public
Bytes
to_bytes
(
JsonExportFlags
flags)
Converts the JSON object to UTF-8 bytes.
Parameters:
this
a
JsonObject
flags
some
JsonExportFlags
e.g.
INDENT
Returns:
a
Bytes