FwupdPlugin.BiosSettings.from_json_file

### Method

# FwupdPlugin BiosSettingsfrom_json_file

#### Declaration [src]

    gboolean
    fu_bios_settings_from_json_file (
      FuBiosSettings* self,
      const gchar* fn,
      GError** error
    )

#### Description [src]

Adds all BIOS attributes from a JSON filename.

Available since: | 1.8.4

#### Parameters

`fn` | `const gchar*`
| A path to a JSON file.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| TRUE for success, FALSE for failure.