Skip to main content

parse_ops_doc

Function parse_ops_doc 

Source
pub fn parse_ops_doc(text: &str) -> Result<OpsDoc, OpsDocError>
Expand description

Decode an ops document, or say which way it was not one.

The one entry point: nothing else in this crate turns bytes into an OpsDoc, and no serde_json::Value survives past this line.