Skip to main content

parse

Function parse 

Source
pub fn parse(json: &str) -> Result<IronprintData, CaptureError>
Expand description

Parse the embedded ironprint JSON into a typed IronprintData.

Pass the &str produced by include_str!(concat!(env!("OUT_DIR"), "/ironprint.json")).