pub fn parse_template_json(
data: &[u8],
) -> Result<BaseTemplateVars, ParseJsonError>Expand description
Parse BaseTemplateVars 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.