pub fn saved_preset(state: &[u8]) -> Option<Map<String, Value>>Expand description
Finds the preset JSON inside a state: the first JSON object that holds
settings. A state the plug-in saved wraps the JSON in binary headers
and a trailer; a state the builder made is the JSON itself.