FwupdPlugin.Backend.save
Description: Reference for FwupdPlugin.Backend.save

### Virtual Method

# FwupdPlugin Backendsave

#### Declaration [src]

    gboolean
    save (
      FuBackend* self,
      JsonBuilder* json_builder,
      const gchar* tag,
      FuBackendSaveFlags flags,
      GError** error
    )

#### Description [src]

Saves the backend to a JSON builder.

Available since: | 1.8.5

#### Parameters

`json_builder` | `JsonBuilder`
| A `JsonBuilder`.
| The data is owned by the caller of the function.
`tag` | `const gchar*`
| A string backend tag, or `NULL`.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`flags` | `FuBackendSaveFlags`
| %FuBackendSaveFlags, typically `FU_BACKEND_SAVE_FLAG_NONE`
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` for success.