Function transform_json

Source
pub fn transform_json(source: &str, driver_name: &str) -> String
Expand description

Transform the json string to the generated device driver (or a compile error).

The driver_name arg is used to name the root block of the driver. It should be given in PascalCase form.