Function pandoc_ast::filter
[−]
[src]
pub fn filter<F: FnOnce(Pandoc) -> Pandoc>(json: String, f: F) -> String
deserialized a json string to a Pandoc object, passes it to the closure/function and serializes the result back into a string