Deserializes JSON string into a Binds object.
Parses a JSON string containing bind mount configurations and constructs a Binds object. Each JSON entry should have "src", "dst", and "type" fields. The type field must be "ro" (read-only), "rw" (read-write), or "dev" (device). Entries with invalid indices are logged as warnings and skipped. Successfully parsed entries are added to the Binds collection with their respective indices, source paths, destination paths, and access types.
- Parameters
-
| raw_json | The JSON string containing bind mount configurations |
- Returns
- Value<Binds> The deserialized Binds object on success, or error on parse failure
Deserializes JSON string into a Binds object.
- Parameters
-
| str_raw_json | The json string which to deserialize |
- Returns
- The
Boot class or the respective error
Deserializes JSON string into a Binds object.
- Parameters
-
| raw_json | The json string which to deserialize |
- Returns
- The
Desktop class or the respective error
Deserializes JSON string into a Binds object.
- Parameters
-
| str_raw_json | The json string which to deserialize |
- Returns
- The
Logs class or the respective error
Deserializes JSON string into a Binds object.
- Parameters
-
| str_raw_json | The json string which to deserialize |
- Returns
- The
Daemon class or the respective error
Deserializes JSON string into a Binds object.
- Parameters
-
| str_raw_json | The json string which to deserialize |
- Returns
- The
Dispatcher class or the respective error
Deserializes JSON string into a Binds object.
- Parameters
-
| str_raw_json | The json string which to deserialize |
- Returns
- The
Message class or the respective error
Deserializes JSON string into a Binds object.
- Parameters
-
| raw_json | The json string which to deserialize |
- Returns
- The
Recipe class or the respective error
Definition at line 184 of file bind.hpp.