Skip to main content

parse

Function parse 

Source
pub fn parse(value: &Value) -> Result<Document, Error>
Expand description

Parse a document from its stored JSON. Lenient like the form builder’s parse: missing keys default.

§Errors

Serde error on structurally invalid JSON (unknown kind/widget).