Skip to main content

parse

Function parse 

Source
pub fn parse(line: &str) -> Result<Question, Malformed>
Expand description

Reads one question.

ยงErrors

Malformed when the line is not JSON, not an object, lacks the token or the operation, names an operation there is not, or a send lacks its tab or its text or names a kind there is not.