Skip to main content

load_pack_from_str

Function load_pack_from_str 

Source
pub fn load_pack_from_str(json: &str) -> Result<Vec<Snippet>, LoadError>
Expand description

Convenience: parse a JSON string directly. Most loader call sites read a file then route through here.