Skip to main content

set_class_in_json

Function set_class_in_json 

Source
pub fn set_class_in_json(document: &mut Value, class: DocumentClass)
Expand description

Set the class field on a document’s JSON (None removes it).