Skip to main content

load_vault

Function load_vault 

Source
pub fn load_vault(conn: &Connection) -> Result<Option<Value>, String>
Expand description

Loads the raw vault JSON from an open connection.

Refuses a vault stamped with a schema this build does not understand, rather than handing back a document it would silently truncate on the next save.