pub fn parse_data_doc(s: &str) -> Result<DataDoc, Error>
Parse a stdin data document. Wraps serde’s unhelpful untagged-enum error with the two accepted shapes.