hyperv_uefi_custom_vars_json

Function load_template_from_json

Source
pub fn load_template_from_json(
    data: &[u8],
) -> Result<CustomVars, ParseJsonError>
Expand description

Parse a CustomVars from a fully-defined template UEFI custom nvram variables JSON file.

In this context, fully-defined means that the JSON files cannot include any “fallback” entries, nor can it encode any “append” operations to existing variables.