pub fn to_json(layout: &Layout) -> String
Serialize a layout to .pedal_layout JSON format.
.pedal_layout