Function cm_rust_testing::new_decl_from_json
source · pub fn new_decl_from_json(object: Value) -> Result<ComponentDecl, Error>
Expand description
Deserialize object
into a cml::Document and then translate the result
to ComponentDecl.