#[unsafe(no_mangle)]pub unsafe extern "C" fn pio_dist_to_json(
net: *const PioDistNetwork,
errbuf: *mut c_char,
errlen: usize,
) -> *mut c_charExpand description
Serialize net to its model JSON: the same object a .pio.json package
carries under model.multiconductor_network, without the surrounding
document. This is the bindings’ data transport, not a case format: the
converter, CLI, and format inference do not know it; distribution cases
exchanged with other tools are BMOPF JSON (pio_dist_to_format).
Returns an owned C string (free with pio_string_free), NULL on error.