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.