Function
FwupdCodecarray_to_json
since: 2.0.0
Declaration [src]
void
fwupd_codec_array_to_json (
GPtrArray* array,
const gchar* member_name,
JsonBuilder* builder,
FwupdCodecFlags flags
)
Parameters
array-
Type: An array of
GObject*(not nullable): array of objects that much implement
FwupdCodec.The data is owned by the caller of the function. member_name-
Type:
const gchar*Member name of the array.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. builder-
Type:
JsonBuilderA
JsonBuilder.The data is owned by the caller of the function. flags-
Type:
FwupdCodecFlagsA
FwupdCodecFlags, e.g.FWUPD_CODEC_FLAG_TRUSTED.